Re: Net::Openssh not fetching data

2012-12-17 Thread Salvador Fandino
On 12/18/2012 12:02 AM, Rajeev Prasad wrote: thx a lot Slava, it works! lastly, does the pipe_out does not 'store' data in RAM - and streams straight to disk? like collecting response from 'capture' in an array? pipe_out returns a file handle from where you can read lines (or chunks or whate

Re: Net::Openssh not fetching data

2012-12-17 Thread Rajeev Prasad
thx a lot Slava, it works!   lastly, does the pipe_out does not 'store' data in RAM - and streams straight to disk? like collecting response from 'capture' in an array?   rgds, Rajeev   From: Salvador Fandino To: Rajeev Prasad Cc: perl list Sent: Monday, Dec

Re: Net::Openssh not fetching data

2012-12-17 Thread Salvador Fandino
On 12/17/2012 05:21 PM, Rajeev Prasad wrote: the following is _i think_ timing out. when it is run from within my script ( @cmdresult, $cmderr ) = $ssh->capture($CMD); where $CMD is: egrep "data_to_grep" *.data_file.txt the output is about 300Mb of data. further, the command when run on

Net::Openssh not fetching data

2012-12-17 Thread Rajeev Prasad
  the following is _i think_ timing out. when it is run from within my script     ( @cmdresult, $cmderr ) = $ssh->capture($CMD);     where $CMD is:   egrep "data_to_grep" *.data_file.txt   the output is about 300Mb of data.   further, the command when run on the remote system directly (after loggi