Hi,
I have following script.
It has a line export UNIX95=1
What does UNIX95 suggest?
If I donot export UNIX95=1 , I get error "illegale option -o" for ps command.
man ps donot show -o option.
Any pointers??
Thanks in advance,
-Ashish
Hi,
I have following script.
It has a line export UNIX95=1
What does UNIX95 suggest?
If I donot export UNIX95=1 , I get error "illegale option -o" for ps command.
man ps donot show -o option.
Any pointers??
Thanks in advance,
-Ashish
On my HP-UX 11.11 box, "man ps" includes a mention of the -o option and a description of the influence on the UNIX95 variable. Are you looking at the wrong man page or something?
-o is the ps format option in Solaris.
[root@server]/var/tmp>
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
[root@server]/var/tmp>