You can check if it's still running with 'jobs' and then 'fg' to bring the 
process to the foreground. Now you can stop it like you want.

> -----Original Message-----
> From: [email protected]
> Sent: Tue, 07 Apr 2009 08:03:49 -0400
> To: [email protected]
> 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]

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!

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

Reply via email to