[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Network sniffing tools - Ethereal
- To: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Subject: Re: Network sniffing tools - Ethereal
- From: Tzafrir Cohen <tzafrir(at-nospam)technion.ac.il>
- Date: Thu, 17 May 2001 10:24:46 +0300 (IDT)
- Cc: Ariel Biener <ariel(at-nospam)fireball.tau.ac.il>, IGLU <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3B03761B.4010107@inter.net.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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