HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory utilization - glance vs. ps
Operating System - HP-UX
1831213
Members
2700
Online
110021
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
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
05-21-2008 03:49 PM
05-21-2008 03:49 PM
Memory utilization - glance vs. ps
Glance reports 80% of my 2GB RAM is utilized. However, when I run:
UNIX95= ps -eo vsz,user,comm,args
And add up all the vsz numbers, I come out to about 307 MB used. According to the man page, vsz is in kb, so I assume I'm using the right metrics.
UNIX95= ps -eo vsz,user,comm,args
And add up all the vsz numbers, I come out to about 307 MB used. According to the man page, vsz is in kb, so I assume I'm using the right metrics.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:05 PM
05-21-2008 04:05 PM
Re: Memory utilization - glance vs. ps
Hi Bret:
The 'ps' output for 'vsz' is in *pages*:
# getconf PAGESIZE
4096
...so there is the first metric needed to obtain memory in bytes.
Also, 'ps' does *not* consider memory-mapped files or shared memory in its reporting.
Regards!
...JRF....
The 'ps' output for 'vsz' is in *pages*:
# getconf PAGESIZE
4096
...so there is the first metric needed to obtain memory in bytes.
Also, 'ps' does *not* consider memory-mapped files or shared memory in its reporting.
Regards!
...JRF....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 05:30 AM
05-22-2008 05:30 AM
Re: Memory utilization - glance vs. ps
Glance and measureware are always correct. They use a kernel interface to read its data which is specific to HPUX or the other OSs it is ported to.
As was previously mentioned glance includes all pages of a process and shared libraries and shared memory is not counted in ps.
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