Hello Peter ,
Did you try executing command "top -cd2", "iostat 1", vmstat 1 10" etc ? Did
you get the output of those command ? I am not getting the output of these
commands rest works fine for me . Pstree, I am getting partial output
Here is the output at my end of pstree command
===
On Thu, 26 Aug 2010 11:22:29 +0530, S Pratap Singh wrote:
> Here is my code which logs in and performs some task but it does not
> show the output of top and pstree command what would i do to get the
> output of these commands along with vmstat and iostat
>
> #!/usr/bin/perl -w
> use Net::SSH::Per
> Hello ,
> Thanks Shlomi for valuable giving input on my code I will implement that
> too.
>
> But still my question remains same is it possible to open a remote session
> with perl and get the output of "top", "vmsate 1 10", "iostat 1" , "yum
> install etc", etc ..
>
>
> I am not getting the outp
Hi Pratap,
a few comments on your code. I'm not sure they will help with anything, but
they are still appropriate.
On Thursday 26 August 2010 08:52:29 S Pratap Singh wrote:
> Here is my code which logs in and performs some task but it does not show
> the output of top and pstree command what wou