HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error: /bin/ps: illegal option -- o on HP-UX 11.0
Operating System - HP-UX
1825768
Members
1834
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-31-2004 06:50 PM
10-31-2004 06:50 PM
Error: /bin/ps: illegal option -- o on HP-UX 11.0
Sir,
What is the similar command option for ps -o on HP-UX 11.0.
I will be thankful to you if you can provide me a solution asap which i can try out.
Thanks and Regards,
Sai Kiranmayi
What is the similar command option for ps -o on HP-UX 11.0.
I will be thankful to you if you can provide me a solution asap which i can try out.
Thanks and Regards,
Sai Kiranmayi
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 07:56 PM
10-31-2004 07:56 PM
Re: Error: /bin/ps: illegal option -- o on HP-UX 11.0
Replace the code:
ps -o ... ...
with
UNIX95= ps -o ... ...
HTH
Duncan
I am an HPE Employee
ps -o ... ...
with
UNIX95= ps -o ... ...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 08:06 PM
10-31-2004 08:06 PM
Re: Error: /bin/ps: illegal option -- o on HP-UX 11.0
You may require a patch. ps -h. does it give -o option?? If not a ps patch may be required. Elase as stated,
UNIX95= ps -ef -o "args, pid"
Anil
UNIX95= ps -ef -o "args, pid"
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 08:58 PM
10-31-2004 08:58 PM
Re: Error: /bin/ps: illegal option -- o on HP-UX 11.0
Thanks for ur response.
according to hp-ux man ps, ps -o wont work for default hp machine. It only works for XPG4 sys only. In order to work for standard hpux, we need to set on export UNIX95 flag.
our sys is already XPG4, ,then why doesnt it support ps -o option.
Why do we need to use UNIX95 command.
Kindly Plz respond me.
Thanks & Regards
Sai kiranmayi.
according to hp-ux man ps, ps -o wont work for default hp machine. It only works for XPG4 sys only. In order to work for standard hpux, we need to set on export UNIX95 flag.
our sys is already XPG4, ,then why doesnt it support ps -o option.
Why do we need to use UNIX95 command.
Kindly Plz respond me.
Thanks & Regards
Sai kiranmayi.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP