HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: top command question
Operating System - HP-UX
1834263
Members
88749
Online
110066
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
06-02-2003 01:21 PM
06-02-2003 01:21 PM
i??m reading the top manual and i don??t understand what means the column
RES.
Resident size of the process in kilobytes.The resident size information is, at best,an approximate value.
Resident where? (in memory i suppose)
how can i summarize it?
the SIZE process + RES = Total size process? (i guess no)
or RES is other size resident in memory?
i must summarize the size RES like memory usage).
Thanks?
Thanks.
RES.
Resident size of the process in kilobytes.The resident size information is, at best,an approximate value.
Resident where? (in memory i suppose)
how can i summarize it?
the SIZE process + RES = Total size process? (i guess no)
or RES is other size resident in memory?
i must summarize the size RES like memory usage).
Thanks?
Thanks.
The obstacles are those things that the people see when they left to see their goals.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 01:28 PM
06-02-2003 01:28 PM
Solution
The reason that the value is approximate is that memory calculations are very tricky because of shared libraries and shared memory segments. Consider the simple case of the shell: There might be hundreds of instances of sh running each with it's own private data segment but sharing a common text segment - the executable code and sharing functions in shared libraries. How many times should that memory usage be counted? It's even possible for the total memory to greatly exceed the virtual memory of the box but that's an illusion because of the sharing of memory segments.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 01:34 PM
06-02-2003 01:34 PM
Re: top command question
In addition read the HP Memory Mgt Whitepaper.
http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html
http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 02:16 PM
06-02-2003 02:16 PM
Re: top command question
Hi:
To add to the information already given, a recent 11.0 patch corrected an incongruous reporting of memory usage by 'top'.
Without PHCO_26020, 'top' could sometimes show the RESident size of a process as larger than its SIZE. This was due to the inclusion private uarea, shared memory, mmap regions in addition to the resident data, stack and text allocated, in the calculation of RES. The patch "resolves" the anomoly by adding these values to the SIZE. Again, this emphasizes why the RESident value is only an approximation.
Regards!
...JRF...
To add to the information already given, a recent 11.0 patch corrected an incongruous reporting of memory usage by 'top'.
Without PHCO_26020, 'top' could sometimes show the RESident size of a process as larger than its SIZE. This was due to the inclusion private uarea, shared memory, mmap regions in addition to the resident data, stack and text allocated, in the calculation of RES. The patch "resolves" the anomoly by adding these values to the SIZE. Again, this emphasizes why the RESident value is only an approximation.
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP