Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

howto send signal to a OS daemon on linux

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


bheemesh at gmail

Nov 24, 2009, 9:17 AM

Post #1 of 1 (174 views)
Permalink
howto send signal to a OS daemon on linux

Hello,

Greetings.

I am a newbie to python programming.
Can anybody please help me with options to send a user defined signal to a
OS daemon (example a daemon snmpd).

I tried finding options to get pid of a daemon (process) by passing it's
name.
Once a pid is available thenwe can use os.kill(signal_type, signalhandler);

But how to get pid of a process by passing it's name and then how to send
signal whichis userdefind.

Kindly let me know.
Thanks in advance.

Best Regards,
Bheemesh

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.