UNIX95 and the ps command

The UNIX95 variable alters the way some commands behave. Generally it is not advisable setting this as an environmental variable but issuing it in a sub-shell or within a script.

e.g. (export UNIX95; ps -Hef)

will give a full listing but with shells and their subshells grouped togethor.

It also allows you to control what the ps command dispalys.

e.g. (export UNIX95=; ps -o user,pid,sz,args)


(export UNIX95=; ps -o user,pid,time,sz,args)

The UNIX95 variable can also effect vi, patch, the C compiler and various library calls. For details search the HP online documentation and search for UNIX95.