Check for running DHCP daemon?

Jason Bailey jbailey at emerytelcom.com
Wed Jan 21 18:06:17 EST 2015


So I've got this python 3 script that needs to know if there is a 
running DHCP daemon (ISC DHCP server) on the local system. Is there a 
clean way to do this that (1) doesn't require me to do syscalls to local 
utilities (like ps, top, etc), and (2) doesn't require any custom 
modules (stock only)?

Thanks




More information about the Python-list mailing list