Thanks.
-- Gnarlie
That question is more than a little ambiguous. Could you describe
exactly what you're trying to do, what you are doing, and why what you
are doing now doesn't work for you? I'm guessing that you find that
tcpdump dies if you close the window you started it in; have you tried
'nohup tcpdump > myfile &'?
JDW
Thanks for the tip, now I am running a file:
sudo nohup tcpdump -i en1 port 80 > /private/tmp/port80.log
Unfortunately the application calling this file now freezes up and needs to
be forcequit.
Is there a way to launch tcpdump without crashing up a process? If so, can
the tcpdump instance be halted from the shell too?
Thanks.
> Thanks for the tip, now I am running a file:
>
> sudo nohup tcpdump -i en1 port 80 > /private/tmp/port80.log
>
> Unfortunately the application calling this file now freezes up and needs to
> be forcequit.
I'm not sure which application you are talking about, but did you try
sudo nohup tcpdump -i en1 port 80 > /private/tmp/port80.log &
Some of the versions of tcpdump I have used didn't flush the output
file if I used a "kill ". I have to terminate the tcpdump process with
kill -1 <pid>
to make sure I got the entire packet.
> Is there a way to launch tcpdump without crashing up a process? If so, can
> the tcpdump instance be halted from the shell too?
I have NEVER seen tcpdump crash a process.
Have you used "ps" to find out what was happening?
--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.