[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network sniffing tools - Ethereal



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:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il