- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Top versions on HP-UX
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
Forums
Discussions
Discussions
Discussions
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
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
03-20-2006 08:30 PM
03-20-2006 08:30 PM
Top versions on HP-UX
boxes.
The box used runs HP-UX 11.11 Patched to July 05.
The supplied version of top gives wildly differing values for the process sizes when compared
with the version of top from the Software Porting Centre (http://hpux.connect.org.uk/hppd/hpux/Sysadmin/top-3.6alpha9/)
For instance an Oracle process:
HP supplied top:
0 ? 4600 oracle 156 24 331M 9972K sleep 7:53 0.20 0.20 ora_arc1_hpaded
Top from Software Porting Centre (SPC)
? 4600 oracle 156 4 18M 2493K sleep 7:52 0.19% oracle
I got similar results from top-3.4.1 (so it is not restricted to the alpha version)
Looking at the code the SPC version tots up the Text, Data and Stack sizes:
/* what we consider to be process size: */
#define PROCSIZE(pp) (P_TSIZE(pp) + P_DSIZE(pp) + P_SSIZE(pp))
and uses that.
Does anybody know what the HP supplied version uses?
The man page states
"SIZE Total virtual size of the process in kilobytes. This includes virtual sizes of text, data, stack, mmap regions, shared
memory regions and IO mapped regions may also include virtual memory regions shared with other processes."
Is the discrepancy between the two outputs solely due to the extra "bits" that the HP supplied version uses because it is
a massive difference (18M v 331M)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:34 PM
03-20-2006 08:34 PM
Re: Top versions on HP-UX
You can find the version of "top" by,
#what `which top`
/usr/bin/top:
top.c $Date: 2004/01/28 15:25:27 $Revision: r11.11/11 PATCH_11.11 (PHCO_29072)
$Revision: @(#) all R11.11_BL2004_0203_1 PATCH_11.11 PHCO_29072
Tue Feb 3 08:35:29 PST 2004 $
What is your version ?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:41 PM
03-20-2006 08:41 PM
Re: Top versions on HP-UX
/usr/bin/top:
top.c $Date: 2004/01/28 15:25:27 $Revision: r11.11/11 PATCH_11.11 (PHCO_29072)
$Revision: @(#) all R11.11_BL2004_0203_1 PATCH_11.11 PHCO_29072
Tue Feb 3 08:35:29 PST 2004 $
How does this correlate to the SPC version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:41 PM
03-20-2006 08:41 PM
Re: Top versions on HP-UX
check if you have the latest top patch installed PHCO_32466.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:42 PM
03-20-2006 08:42 PM
Re: Top versions on HP-UX
Top is a very basic tool that has known problems. Depending on what you are trying to achieve, you may be better off with a different tool like glance.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:43 PM
03-20-2006 08:43 PM
Re: Top versions on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:47 PM
03-20-2006 08:47 PM
Re: Top versions on HP-UX
As Robert specified, do you have PHCO_32466 installed on your machine ?
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_32466&context=hpux:800:11:11
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 09:04 PM
03-20-2006 09:04 PM
Re: Top versions on HP-UX
what /usr/bin/top
/usr/bin/top:
top.c $Date: 2005/02/06 22:22:42 $Revision: r11.11/12 PATCH_11.11 (PHCO_32466)
$Revision: @(#) ps R11.11_BL2005_1124_1 PATCH_11.11 PHCO_32466
The HP version is measuring something very very different to to SPC version.