- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory Management
Operating System - HP-UX
1753568
Members
5515
Online
108796
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
Discussions
Discussions
Forums
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
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
тАО03-19-2002 12:41 PM
тАО03-19-2002 12:41 PM
While analyzing application processes, the process stat shows a process size (vsz) of 24mb, but if I view the same process in Glance it reports RSS/VSS of 39.8mb/96.4mb respectively. I have also seen the RSS higher than the VSS. If the VSS is the total memory requirement should the entire process reside in memory, how could the RSS be higher if it reflects the amount occupied by the process. I'm running 10.20 on a K570. What can I check to get a clear picture of the memory actually in use by a particular process and why the ?discrepancies? between output? Thanks!
Free the inodes!
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2002 12:51 PM
тАО03-19-2002 12:51 PM
SolutionThe size (in KB) of resident memory for the process. This consists of text, data, stack, as well as the process' portion of shared memory regions (such as, shared libraries, text segments, and shared data).
Resident memory (RSS) is calculated as
RSS = sum of private region pages +
(sum of shared region pages /
number of references)
The number of references is a count of the number of attachments to the memory region. Attachments, for shared regions, may come from several processes sharing the same memory, a single process with multiple attachments, or combinations of these.
This value is only updated when a process uses CPU. Thus, under memory pressure, this value may be higher than the actual amount of resident memory for processes which are idle.
On HP-UX 10.20, the kernel instrumentation doubles the reported size of private regions. To compensate for this, the total reported RSS for each process is halved.
On HP-UX 11.0 and beyond, this metric accurately reports the resident memory for the process.
Note, a value of "na" may be shown for the swapper process.
This metric is specific to a process. If this metric is reported for a kernel thread, the value for its associated process is given.
from the help pages of glance.
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2002 01:19 AM
тАО03-21-2002 01:19 AM
Re: Memory Management
ps -efl and glance show different rss and vsz
because they interpret process size differently. Ps only calculates the "core image", where as glance sums up the shared memory bits as well. Also, ps shows rss (sz column) in 4k pages and vsz in kilobytes.
because they interpret process size differently. Ps only calculates the "core image", where as glance sums up the shared memory bits as well. Also, ps shows rss (sz column) in 4k pages and vsz in kilobytes.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP