Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-12-29 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls