"Premal" == Premal Gandhi <[EMAIL PROTECTED]> writes: Premal> I executed the following dtrace command >> dtrace -w -s defects-CSCsh18087-dscript.d-new `pgrep sip` 0 Premal> dtrace: script 'defects-CSCsh18087-dscript.d-new' matched 4 probes Premal> dtrace: allowing destructive actions
Premal> How do I log the "dtrace::" messages to a file ? Premal> I cannot pipe or redirect output. Please can you suggest some Premal> way to log these messages to a file. Also if I try to do 2 > Premal> log.txt, it complains and does not allow me to do so. What is the complaint from the shell? It may be you don't have write permission in the directory where you're trying to create a new file or for the existing file. Normally things like "2> file" are handled by the shell, before dtrace is exec'd. -- Dave Marquardt Sun Microsystems, Inc. Austin, TX +1 512 401-1077 (SUN internal: x64077) _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org