nicest way to kill python process running on linux?

Alex Hunsley lard at tardis.ed.ac.molar.uk
Mon Jul 12 06:31:05 EDT 2004


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




More information about the Python-list mailing list