From: "Jacob, Raymond A Jr" Date: 2007-01-14T13:16:02+09:00 Subject: Ssh output buffer getting cut off ------_=_NextPart_001_01C73792.A9DDF8A9 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I am running net-ssh(1.0.10) and ruby 1.8.2 (2004-12-25) [i386-mswin32] When I execute the following:=20 ... session.process.open3("/usr/bin/netstat -pn") do |input,output,error| puts "#{output.read}" end .... The output is cutoff. Logging into the system and running the command /usr/bin/netstat -pn | wc -c the command outputs 10219 bytes When substite "ls -last" for ".../netstat -pn" I get all of the output Checking the amount of data returned by running: ls -last | wc -c the command outputs 6799 bytes. My assumption is that there is default buffer size that I have exceeded or the buffer is waiting to be flushed and the process ends before this happens or there is something in my output that causes the buffer be flushed prematurely. Does anyone have any suggestions on how I might overcome this problem. Thank you raymond ------_=_NextPart_001_01C73792.A9DDF8A9--