HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: UNIX95
Operating System - HP-UX
1833451
Members
3066
Online
110052
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
09-06-2007 04:30 AM
09-06-2007 04:30 AM
UNIX95
Hi all,
Can someone provide me the information regarding the UNIX95 utiliy.
Thanks,
Micky1
Can someone provide me the information regarding the UNIX95 utiliy.
Thanks,
Micky1
- Tags:
- UNIX95
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 04:38 AM
09-06-2007 04:38 AM
Re: UNIX95
Shalom,
You set UNIX95=1 and you get some enhanced output from the ps command.
Example:
export UNIX95=1
CL="ps -a -o pid,sz,vsz,args -C $FILTER | sort -nr -k 2,3| head -$NUM"
Don't set it universally, it will prevent you from unsharing HP depot software and patches.
SEP
You set UNIX95=1 and you get some enhanced output from the ps command.
Example:
export UNIX95=1
CL="ps -a -o pid,sz,vsz,args -C $FILTER | sort -nr -k 2,3| head -$NUM"
Don't set it universally, it will prevent you from unsharing HP depot software and patches.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 04:40 AM
09-06-2007 04:40 AM
Re: UNIX95
Hi:
This is not a utility but rather an environmental option (variable) that controls how certain commands function. You will find that the manpages refer to it as "XPG4" also. In the case of 'ps' setting UNIX95 behavior allows custom formatted output. For example:
# UNIX95= ps -o pid,vsz,comm
...would show my process's pid, virtual size, and basename.
The UNIX95 option in the above example is set _only_ for the duration of the command line by writting it as shown --- whitespace trailing the "=" character before the command ('ps').
Do not globally set UNIX95 in your scripts or profiles. While some commands ignore it, others change their behavior in subtle ways. Consult the manpages on a command-by-command basis before using it.
Regards!
...JRF...
This is not a utility but rather an environmental option (variable) that controls how certain commands function. You will find that the manpages refer to it as "XPG4" also. In the case of 'ps' setting UNIX95 behavior allows custom formatted output. For example:
# UNIX95= ps -o pid,vsz,comm
...would show my process's pid, virtual size, and basename.
The UNIX95 option in the above example is set _only_ for the duration of the command line by writting it as shown --- whitespace trailing the "=" character before the command ('ps').
Do not globally set UNIX95 in your scripts or profiles. While some commands ignore it, others change their behavior in subtle ways. Consult the manpages on a command-by-command basis before using it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 04:47 AM
09-06-2007 04:47 AM
Re: UNIX95
UNIX95 is not a utility but rather an environment variable. When it is defined it asserts the XPG4 standards (X/Open Portability Guide) behavior in a number of UNIX commands most notably the ps command.
If it ain't broke, I can fix that.
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