Ethereal-users: Re: [Ethereal-users] Runnig Ethereal with PID

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 16 Jan 2004 00:43:01 -0800
On Thu, Jan 15, 2004 at 11:19:45PM -0800, shyam kishore wrote:
> I was trying to find a way to want to run "tethereal"
> in the console mode assigning a process ID to it.

I don't know of any OS on which Tethereal runs that allows you to create
a process and assign it a process ID.

> This would facilitate me to kill the process with out any
> manual intervention after I successfully capture the
> required packets from the network.

If you're doing this on UNIX, you could run it in the background and get
the process ID assigned to the most recent background command from the
"$!" special parameter.  See the man page for your shell.

I don't know how that'd be done on Windows (except perhaps with Cygwin).