12-06-2001 09:52 AM
I need to use ps with XPG4 options in order to
obtain %CPU column's information. These values
are always 0. I find this bug in HP knowledge
base but it seems that there is only a patch
for HPUX 11.00 and none for HPUX 10.20.
Do you know if I can use ps binary (HPUX 11.00)
on an HPUX10.20 ? Or do you know a patch for
this problem ?
12-06-2001 10:03 AM
live free or die
12-06-2001 10:05 AM
My problem seems to come from a ps bug :
%CPU is divide by 100 but is seems to be an
integer so it is always 0 ! It's a known bug
but the only patch I found is for HPUX 11.X.
And on HPUX 11 ps needs libc.2 which doesn't
exist on HPUX 10.20....
I think I need to find a corrected release of
ps for HPUX 10.20 ?
12-06-2001 10:07 AM
i don't think you can use the 10.20 binary since the pstat structure maybe different. I am not sure, but you can give it a shot (but making sure you have the oringial binary copy ) from a 11.00 32-bit system.
On checkin up, i find the same problem on few of my 11.00 boxes, but it works on another 11.00 box.
The working ps size and info on 11.00 is:
ps.c $Revision: 184.108.40.206 $ $Date: 99/04/29 00:13:07 $
PATCH_11_00: ps.o 99/04/29
-r-xr-xr-x 1 bin sys 40960 Apr 29 1999 /usr/bin/ps
12-06-2001 11:54 PM
Thanks for all your reply.... but no solutions
now. I find a patch for this problem for HPUX 11.00
and it was corrected on HPUX11.00 9911 release.
(PHCO_18445). But I can't find the same patch
for HPUX 10.20. I use an old release of HPUX 10.20 and can't update.
I try to use an HPUX 11 ps but it doesn't work :
Harry did you try to use cpcu column with this
release of HPUX10.20 ?
12-10-2001 08:12 AM
This is really an HPUX10.20 bug and there is
no official patches at this time.
I made a small piece of code to obtain these
informations and HP send me an unofficial
01-25-2002 02:02 PM
07-16-2002 12:58 PM
No Official patch or solution for this problem (10.20) as on Tue Jul 16 16:02:13 CDT 2002.
I do hope that help is in its way.
07-16-2002 01:11 PM
How about looking at this patch document :