On Thu, 17 May 2001, Daniel Feiglin wrote:

> This worked:
>
> strace -e trace=file -o jun.txt ethereal
>
> The tee thing didn't work. man strace, option -o.

strace sends its trace to stderr, not to stdout. You need something like:

  strace 2>&1

And there you can fit 'tee' , or 'egrep "fstat|fopen"', which I find
useful for detecting which files the program tries to look for.

(And there are probably other ways to do it)

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to