Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Need Help in NET::SSH::Perl to fetch the status of remote pid

by Anonymous Monk
on Dec 07, 2012 at 08:47 UTC ( #1007697=note: print w/replies, xml ) Need Help??


in reply to Re: Need Help in NET::SSH::Perl to fetch the status of remote pid
in thread Need Help in NET::SSH::Perl to fetch the status of remote pid

Hello Khen. The example you posted does not see if the process is working on remote machine.When you give

 system("kill 0 28075; echo $?")

you are seeing if the process exist on local machine and the system command will not return the output. Then the $cmd you pass it to remote machine . What I wanted is to execute the " process exist or not on remote machine . Please do help me

  • Comment on Re^2: Need Help in NET::SSH::Perl to fetch the status of remote pid
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007697]
help
Chatterbox?
LanX is the PROVO-KING
[holli]: what's that smell?
[LanX]: good evening! :)
[Discipulus]: ProvoLanX? grin..
[holli]: wow. the google translation to german is really good

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-11-20 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?