UNIX95 is a Unix standard defined in the Single UNIX Specification. HP-UX 11i is registered as UNIX95 compliant in its v1 and v2 versions and as UNIX03 (a more modern version) the v3.
This standard affect commands and syscalls in various ways and it is not set by default. To “activate” this mode the UNIX95 environment variable must be declared, it is not recommendable to set the variable through root’s
/etc/profile. The best way to use the features provided by the UNIX95 standard is to temporally set the variable just before execute a command in the shell.
Currently I only use this mode with the ps command. This command has some options that can only be used if the UNIX95 variable is declared. I have a couple of alias in my profile to take advantage of this options.
- With this command you can get a sort of equivalent of the Solaris
- Get the top 15 CPU consuming processes:
There are more options for ps and for other commands, just investigate a bit in the man pages.