Use kill
if u're process has pid 666, then
$ kill -s signal 666
will send signal to process with pid 666.
kill -l will list signal names...
of course, u realise that u're perl daemon should have appropriate code to trap these
signals!!
--
arc_of_descent
"mukund"<[EMAIL PROTECTED]> wrote:
To: "Linux-India-Help@Lists. Sourceforge. Net"<[EMAIL PROTECTED]>
Cc:
Subject: [LIH] process communication.
Date: Wed, 26 Dec 2001 05:56:52 +0530
----------------------------------------------
Hi Gurus,
It may sound absurd but i am stuck up.
How do i communicate with a running process from command line?
The daemon is written by me in perl, it accept username:passwd string and
returns OK or NOOK, depending on passwd match.
ps -A gives the PID of daemon.
Any Idea?
Regards,
Mukund Deshmukh
Beta Computronics Pvt. Ltd.
Web site - http://betacomp.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help