in reply to Net::SSH::Perl Realtime output

Are you, perhaps, suffering from buffering?


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl Realtime output
by Anonymous Monk on Sep 01, 2005 at 20:37 UTC

    Thanks for the replies guys. In reply to your help sh1tn first. I probably didn't explain myself very well. I could get that example with "uname -a" to work but I couldn't get it to work with an example that is Interactive. For example I could get it to work with
    "tail 10 /var/adm/messages"
    but couldn't get it to work with
    "tail -f /var/adm/messages"
    as this has the ability to be changing all the time where the former is just a snapshot.


    In answer to idsfa,you could possibily be correct but if I can get it working for Net::Telnet It should work for Net::SSH::Perl. Besides, I could understand that being the case for a snoop maybe but not a tail -f on a small file

    Searched a fair bit around the net looking for an answer but can't find one as yet. Any other suggestions would be greatly appreciated


    Shooter.