Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Perl: the Markov chain saw
 
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 scrutinizing the Monastery: (5)
As of 2014-04-20 03:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls