- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process memory utilization
Operating System - HP-UX
1753317
Members
6743
Online
108792
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
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
тАО08-31-2004 06:58 PM
тАО08-31-2004 06:58 PM
Process memory utilization
Hi all,
I have question on how to monitor the process memory utilization by different method, so far I have tried 3 methods.
1. Glance
Resources PID: 19496, java PPID: 19486 euid: 102 User: oracle
--------------------------------------------------------------------------------
CPU Usage (util): 9.1 Log Reads : 0 Wait Reason : SLEEP
User/Nice/RT CPU: 9.1 Log Writes: 0 Total RSS/VSS :154.7mb/731.9mb
It show RSS/VSS is 154Mb / 731Mb respectively.
2. ps
UNIX95= ps -ef -o pid,ruser,sz,vsz,args
19496 oracle 15631 63548 /home/oracle/oem10g/jdk/bin/PA_RISC2.0/java -Djava.security.pol
it show sz, vsz is 15k & 64k around
3. a C program find in this forum finding the memory consumption
uid pid shared_vm shared_ram private_vm private_ram Res_Mem
102 19486 15980K 1924K 6364K 4700K 6.5M
which show the Res_Mem is 6.5M
How come it show 3 totally different result for the Resident memory ?? Which one should I look? Thx.
Gordon
I have question on how to monitor the process memory utilization by different method, so far I have tried 3 methods.
1. Glance
Resources PID: 19496, java PPID: 19486 euid: 102 User: oracle
--------------------------------------------------------------------------------
CPU Usage (util): 9.1 Log Reads : 0 Wait Reason : SLEEP
User/Nice/RT CPU: 9.1 Log Writes: 0 Total RSS/VSS :154.7mb/731.9mb
It show RSS/VSS is 154Mb / 731Mb respectively.
2. ps
UNIX95= ps -ef -o pid,ruser,sz,vsz,args
19496 oracle 15631 63548 /home/oracle/oem10g/jdk/bin/PA_RISC2.0/java -Djava.security.pol
it show sz, vsz is 15k & 64k around
3. a C program find in this forum finding the memory consumption
uid pid shared_vm shared_ram private_vm private_ram Res_Mem
102 19486 15980K 1924K 6364K 4700K 6.5M
which show the Res_Mem is 6.5M
How come it show 3 totally different result for the Resident memory ?? Which one should I look? Thx.
Gordon
Gordon
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 07:01 PM
тАО08-31-2004 07:01 PM
Re: Process memory utilization
Hi all,
Sorry I get a typo error, in fact the 3rd method RSS is 165M , which quite close to glance data, so only left is how to interpret the 'ps' result, thx .
Gordon
uid pid shared_vm shared_ram private_vm private_ram Res_Mem
102 19496 53628K 13428K 739476K 154600K 164.1M
Sorry I get a typo error, in fact the 3rd method RSS is 165M , which quite close to glance data, so only left is how to interpret the 'ps' result, thx .
Gordon
uid pid shared_vm shared_ram private_vm private_ram Res_Mem
102 19496 53628K 13428K 739476K 154600K 164.1M
Gordon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 07:25 PM
тАО08-31-2004 07:25 PM
Re: Process memory utilization
Hi,
another method would be using the "top" command which also has a line in it showing the memory utilization
Regards
Franky
another method would be using the "top" command which also has a line in it showing the memory utilization
Regards
Franky
Don't worry be happy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:31 AM
тАО09-08-2004 07:31 AM
Re: Process memory utilization
The ps results are in units of 4K pages for sz and 1K for vsz. That works out to sz=63.3MB and vsz=63.5MB. The ps numbers are only the sizes of text, data, and stack regions. They don't count shared libraries, shared memory and memory mapped files.
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