Thanks to everyone for the helpful and thoughtful replies!
The 'kill -INT' command did what I needed. It adds the stats to the
file, and then exists.
Thanks again!
Jim
Jim Van Meggelen wrote:
I ran the following command for a few days, just to get a feel for
latency and jitter and such
ping [ip address] >> /var/log/pings_to_remote &
The challenge I have is that I want to end the process in such a way
that I get the summary report you would normally get when you ctrl-d
the ping command.
If I just 'kill -9' the process (which is the only way I know to
terminate a process), it doesn't finish the ping command gracefully,
and so the captured file doesn't have the summary report in it.
Any tips would be most appreciated.
Regards,
Jim
--
Jim Van Meggelen
[email protected]
http://www.oreillynet.com/pub/au/2177
"A child is the ultimate startup, and I have three. This makes me rich."
Guy Kawasaki
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
--
Jim Van Meggelen
[email protected]
http://www.oreillynet.com/pub/au/2177
"A child is the ultimate startup, and I have three.
This makes me rich."
Guy Kawasaki
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]