Jim,
Try a "kill -2"  (or "kill -INT" which most systems should also understand).
Regards,
Doug.

----- Original Message ----- From: "Jim Van Meggelen" <[email protected]>
To: "Asterisk Users Group" <[email protected]>
Sent: Tuesday, April 07, 2009 8:03 AM
Subject: [on-asterisk] A question for the bash shell gurus


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]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to