Yes mukund... i understand
killing is bad...

but the kill command can send any type of signal u want.
If u don't send any signal, then the default TERM signal is sent which "kills" the 
process.

check out the -s option of kill
better still...
do man kill



"mukund"<[EMAIL PROTECTED]> wrote:
To: [EMAIL PROTECTED]
Cc: 
Subject: Re: [LIH] process communication.
Date: Wed, 26 Dec 2001 17:31:31 +0530

----------------------------------------------
No, I do not want to kill the process.
I want send some sensible data to process and read back its reply. And the
process does not have socket.

-----Original Message-----
From: Rohan Almeida <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Friday, December 28, 2001 1:44 PM
Subject: Re: [LIH] process communication.


>
>
>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
>



_______________________________________________
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

Reply via email to