nicest way to kill python process running on linux?

Neal D. Becker ndbecker2 at verizon.net
Mon Jul 12 13:58:45 CEST 2004


Alex Hunsley wrote:

> I'm running a monitoring script under linux written in python. It's
> nohup'ed so that I can log out and it will continue running happily and so
> on, but sometimes I need to kill the script before editing the source and
> relaunching it. Question is, what's the nicest way to kill the python
> process under linux? Is a simple 'kill [process-id]' the nicest way to do
> it, or is there a different signal I should send it?
> 
> ta
> alex
> 

nice +10 kill [process-id]
(sorry, couldn't resist)




More information about the Python-list mailing list