HP-UX 10.20 hobbitclient-hpux.sh issue

T.J. Yang tj_yang at hotmail.com
Thu Nov 30 05:48:41 CET 2006


1. following ps command works on hp-ux 11.11 but not on hpux 10.20
root at test> grep UNIX95 hobbitclient-hp-ux.sh
UNIX95=1 ps -Ax -o pid,ppid,user,stime,state,pri,pcpu,time,vsz,args
root at test>

2. Here is the checking on a hp-ux 10.20.
root at test> UNIX95=1 ps -Ax -o 
pid,ppid,user,stime,state,pri,pcpu,time,vsz,args
root at test> echo $UNIX95
1
root at test> ps -Ax -o pid,ppid,user,stime,state,pri,pcpu,time,vsz,args       
ps: illegal option -- x
usage: ps [-aAcdefHjlOPX] [-C cmdlist] [-g sidlist] [-G gidlist]
         [-n namelist] [-o format] [-p proclist] [-R prmgrplist] [-s 
sidlist]
              [-t termlist] [-u uidlist] [-U uidlist]
root at test> uname -a
HP-UX test B.10.20 A 9000/785 2002377375 two-user license
root at test> UNIX95=1 ps -Ax -o 
pid,ppid,user,stime,state,pri,pcpu,time,vsz,args
ps: illegal option -- x
usage: ps [-aAcdefHjlOPX] [-C cmdlist] [-g sidlist] [-G gidlist]
         [-n namelist] [-o format] [-p proclist] [-R prmgrplist] [-s 
sidlist]
              [-t termlist] [-u uidlist] [-U uidlist]
root at test>



T.J. Yang

_________________________________________________________________
Stay up-to-date with your friends through the Windows Live Spaces friends 
list. 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk




More information about the Xymon mailing list