- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: %CPU column in ps output (HPUX 10.20) is alway...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 09:52 AM
тАО12-06-2001 09:52 AM
%CPU column in ps output (HPUX 10.20) is always 0
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 ?
TIA
Herv??
- Tags:
- PS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 09:56 AM
тАО12-06-2001 09:56 AM
Re: %CPU column in ps output (HPUX 10.20) is always 0
UNIX95= ps -e o "pcpu vsz ruser pid args" sort -rn | head -10
would give you the list of top ten cpu intensive processes
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 10:03 AM
тАО12-06-2001 10:03 AM
Re: %CPU column in ps output (HPUX 10.20) is always 0
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 10:05 AM
тАО12-06-2001 10:05 AM
Re: %CPU column in ps output (HPUX 10.20) is always 0
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 ?
Thanks
Herv??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 10:07 AM
тАО12-06-2001 10:07 AM
Re: %CPU column in ps output (HPUX 10.20) is always 0
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:
/usr/bin/ps:
ps.c $Revision: 82.1.1.2 $ $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
HTH
raj
- Tags:
- pstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 10:14 AM
тАО12-06-2001 10:14 AM
Re: %CPU column in ps output (HPUX 10.20) is always 0
PHKL_11245 LVM,VM,PM,pstat cumulative
it might be superseeded already.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 11:54 PM
тАО12-06-2001 11:54 PM
Re: %CPU column in ps output (HPUX 10.20) is always 0
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 :
libary problem...
Harry did you try to use cpcu column with this
release of HPUX10.20 ?
Thanks
Herv??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2001 08:12 AM
тАО12-10-2001 08:12 AM
Re: %CPU column in ps output (HPUX 10.20) is always 0
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
ps binary....
Herve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2002 02:02 PM
тАО01-25-2002 02:02 PM
Re: %CPU column in ps output (HPUX 10.20) is always 0
Thanks,
Tony Salerno
tsalerno@wansystems.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:58 PM
тАО07-16-2002 12:58 PM
Re: %CPU column in ps output (HPUX 10.20) is always 0
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.
Thanks,
Anu Mathew