Run ps on remote machine

Robin Bowes robin-lists at robinbowes.com
Tue Aug 23 08:17:55 UTC 2005


Robin Mordasiewicz wrote:
> On Tue, 23 Aug 2005, Dattatraya wrote:
> 
>> Is there any way of running ps on a remote machine. I know one can do 
>> it by
>> ssh. i am talking of writing some code and doing some socket 
>> programming to
>> achieve it myself. can somebody point me to some useful resource..
> 
> 
> rsh remotehost ps

ssh is a secure replacement for rsh so the following will also work:

   ssh remotehost ps

R.
-- 
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?




More information about the users mailing list