- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remsh hanging
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
01-04-2005 05:58 PM
01-04-2005 05:58 PM
Remsh hanging
remsh node -l root -n ps -ef|grep XYZ|grep -v grep
As a result we need to abort the script execution. The surprising part is that the command works many a times also.
Cud anyone elaborate on this ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 06:21 PM
01-04-2005 06:21 PM
Re: Remsh hanging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 07:53 PM
01-04-2005 07:53 PM
Re: Remsh hanging
Your suggestions do make sense..But prior to the remsh execution, we are checking the node availability using Ping.Thus the remote command is executed only if the node is available..
Thus somethg else is contributing to the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 09:33 PM
01-04-2005 09:33 PM
Re: Remsh hanging
remsh node -l root -n ps -ef | tee your_file | grep XYZ | grep -v grep
(all one line)
This will create a file locally called your_file (or whatever you want) which will be overwritten each time the command is run. Take a copy of the file if the command runs successfully and compare it to the contents of the file when the command hangs, it might give you a clue.
As an aside, remsh hangs if the command is interactive (which yours isn't) or becomes interactive. I can't immediately see why a ps would become interactive though. Might be a red herring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 09:52 PM
01-04-2005 09:52 PM
Re: Remsh hanging
What os version and what ARPA transport patch?
on 11.0 a similar case existed with an old patch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 11:31 PM
01-04-2005 11:31 PM
Re: Remsh hanging
remsh node -l root -n "ps -ef" | grep XYZ | grep -v grep
so that,
ps -ef operation will be done in remote machine and grep operations will be done in local machine.
Which OS you are using.?
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 08:14 PM
01-12-2005 08:14 PM