- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script asks for ps, result: "ps: pstat failure"
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
09-11-2002 10:41 PM
09-11-2002 10:41 PM
I ran into a problem last week that I don't understand.
A script checks if the processes of a few programs are running, if so no messages are send.
If the processes aren't running, the script checks witch isn't running and gives a separate message for that one.
OK this is the situation on HP-UX 10.20.
The thing is that copied the script to Hp-UX 11.i and there were no changes necessary to let it run properly.
-> Only once and a while we receive a message that none of the processes are running. When we look at the system, nothing is wrong. The log of the script shows the problem: "ps: pstat failure".
(command line: ps -efx|grep b1_ml|grep -v grep > $OUTFILE )
I haven't seen this before and I can't explain it.
Can any of you explain what is happening here?
A work around could be to run the command again after a while, but I'm looking for an explanation. (Why?)
Thanks for all the input in advance.
Arthur Pols
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 10:54 PM
09-11-2002 10:54 PM
Re: Script asks for ps, result: "ps: pstat failure"
This is a known problem with the -x option of the 11.11 ps command. No patch is released yet... but the problem should disappear if you omit -x option (not using the extended command line format).
BTW, are the you sure that -x worked on your 10.20 system? It's a new option...
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 01:01 AM
09-12-2002 01:01 AM
Re: Script asks for ps, result: "ps: pstat failure"
I'm sorry, the -x is new in 11.i (Your absolutely right!)
On the 10.20 version of this process the line was a lot shorter.
We have to use this option, we want to have the whole line (the most important part is at the end). So yes we did change it.
I get that there is no patch yet.
Any other suggestions are welcome !
Thanks !
Arthur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 06:40 AM
09-12-2002 06:40 AM
SolutionYou should be able to get an pre-release version of that patch by logging a call with your local response center. The Defect ID is JAGad93858.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2002 10:27 PM
10-03-2002 10:27 PM
Re: Script asks for ps, result: "ps: pstat failure"
Thanks Dietmar for this insight information.
Arthur