HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- XPG4 version of ps
Operating System - HP-UX
1831929
Members
3636
Online
110031
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
Go to solution
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
05-24-2002 01:41 AM
05-24-2002 01:41 AM
The man page for the ps command includes information on an XPG4 version. This version doesn't seem to be on my system ,only the regular version in /usr/bin. How can the XPG version be installed?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2002 01:42 AM
05-24-2002 01:42 AM
Re: XPG4 version of ps
Have you tried the environment variable UNIX95?
# env UNIX95=1 ps ...
completely different behaviour of the same program
# env UNIX95=1 ps ...
completely different behaviour of the same program
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2002 03:22 AM
05-24-2002 03:22 AM
Solution
Hi Norman:
The XPG4 variations are armed by setting the UNIX95 variable. While you could set this and propagage (export) it to your running environment this my cause other standard commands (including 'ps') to behave unexpectedly when you run them. A better choice is to set the variable *only* for the duration of the command line. Consider:
# UNIX95= ps -e -o "user,vsz,pid,ppid,args"|sort -rnk
Note the blank (space) charater after the equal sign and before the 'ps' command. In this example you can obtain a list of processes by virtual size, sorted from largest to smallest.
Regards!
...JRF...
The XPG4 variations are armed by setting the UNIX95 variable. While you could set this and propagage (export) it to your running environment this my cause other standard commands (including 'ps') to behave unexpectedly when you run them. A better choice is to set the variable *only* for the duration of the command line. Consider:
# UNIX95= ps -e -o "user,vsz,pid,ppid,args"|sort -rnk
Note the blank (space) charater after the equal sign and before the 'ps' command. In this example you can obtain a list of processes by virtual size, sorted from largest to smallest.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 11:34 AM
01-12-2004 11:34 AM
Re: XPG4 version of ps
Thanks guys.. this looks like the stuff..
Mark
Mark
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP