- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh std output is sometimes truncated
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 06:08 PM
06-18-2003 06:08 PM
Since the Gold patch bundle for 11.11 from December 2002 has been applied, we have seen the following behavior from commands run through remsh:
sys1 # remsh sys2 'tail -500 /var/adm/syslog/syslog.log' |wc -l
500
sys1 # date
Wed Jun 18 21:31:47 EDT 2003
sys1 # remsh sys2 'tail -500 /var/adm/syslog/syslog.log'
<498 lines deleted for brevity>
Jun 18 21:31:57 sys2 inetd[2423]: registrar/tcp: Connection from sys1 (192.168.0.26) at Wed Jun 18 21:31:57 2003
Jun 18 21:32:03 sys2 inetd[2428]: shell/tcp: Connection from sys1 (192.168.0.26) at Wed Jun 18 21:32:03 2003
sys1 #
All is as expected. But when I pipe it through more or less, the output is truncated, and the pager does not respond to every
sys1 # remsh sys2 'tail -500 /var/adm/syslog/syslog.log' |more
Jun 18 21:29:58 sys2 inetd[3894]: registrar/tcp: Connection from sys1 (192.168.0.26) at Wed Jun 18 21:29:58 2003
Jun 18 21:30:18 sys2 inetd[4209]: auto_r
sys1 # date
Wed Jun 18 21:33:32 EDT 2003
sys1 #
The behavior is consistent between any 2 machines for any command which produces more than about 110 lines, but the amount truncated is variable. All systems are trusted, NIS is not used, less shows about 260 lines available for browsing, redirection of the output to a file captures all lines, and it would be great if someone was able to tell me what is wrong.
Thanks,
Tony Giedlinski
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:37 PM
06-18-2003 09:37 PM
Re: remsh std output is sometimes truncated
Try including the "-n" option before the command like so:
remsh sys2 -n 'tail -500 /var/adm/syslog/syslog.log' |more
That should fix it.
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:40 PM
06-18-2003 09:40 PM
Re: remsh std output is sometimes truncated
Try including the "-n" option before the command like so:
remsh sys2 -n 'tail -500 /var/adm/syslog/syslog.log' |more
That should fix it.
Ollie.
(This is the 3rd attempt to post this message - ITRC seems to be going through its "7:30 freeze" again! Sorry if this is repeated a few times......)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:40 PM
06-18-2003 09:40 PM
Re: remsh std output is sometimes truncated
Try including the "-n" option before the command like so:
remsh sys2 -n 'tail -500 /var/adm/syslog/syslog.log' |more
That should fix it.
Ollie.
(This is the 3rd attempt to post this message - ITRC seems to be going through its "7:30 freeze" again! Sorry if this is repeated a few times......)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 06:21 PM
06-19-2003 06:21 PM
Re: remsh std output is sometimes truncated
That did the trick. I still wonder why the problem didn't show up until the patches were applied . . . ;-)
Tony G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 08:37 PM
06-19-2003 08:37 PM
Re: remsh std output is sometimes truncated
Don't forget to award points when someone helps you (hint, hint, subtle hint)!
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:22 PM
06-19-2003 10:22 PM
Re: remsh std output is sometimes truncated
I tried to leave points when I thanked you; I'm giving it another shot now.
Of course, what can you expect? I didn't even think of '-n' ; I thought that was for remote system responses only. .-)
Tony.