HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory being consumed by which process ?
Operating System - HP-UX
1833869
Members
1616
Online
110063
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
02-13-2003 07:16 AM
02-13-2003 07:16 AM
In trying to determine which process is consuming big chunks of memory on one of the nodes, I need some help figuring out what exactly do the column headings mean for this command: ps gvx | grep dbsnmp
VSZ and RSS
Here is a sample of the output:
1312508 pts/3 I 0:00.02 229291 0 2.53M 960K 0.0 0.0 /oracle/product/9.2.0/bin/dbsnmpwd
1252323 pts/1 S + 0:00.01 0 0 2.28M 856K 0.0 0.0 grep dbsnmp
1312510 pts/3 S 0:13.75 688012 996 2.91G 2.8G 0.0 34.6 /oracle/product/9.2.0/bin/dbsnmp
VSZ and RSS
Here is a sample of the output:
1312508 pts/3 I 0:00.02 229291 0 2.53M 960K 0.0 0.0 /oracle/product/9.2.0/bin/dbsnmpwd
1252323 pts/1 S + 0:00.01 0 0 2.28M 856K 0.0 0.0 grep dbsnmp
1312510 pts/3 S 0:13.75 688012 996 2.91G 2.8G 0.0 34.6 /oracle/product/9.2.0/bin/dbsnmp
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 07:22 AM
02-13-2003 07:22 AM
Re: memory being consumed by which process ?
Try this command
UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1
UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 07:41 AM
02-13-2003 07:41 AM
Solution
RSS - Resident set size.
The portion of the process that is currently resident in Physical memory (The whole process does not need to be resident)
VSZ - Virtual Set Size
The TOTAL size of the process IF it was loaded into memory.
So if RSS was equal to VSZ then the entire process would be in memory.
The portion of the process that is currently resident in Physical memory (The whole process does not need to be resident)
VSZ - Virtual Set Size
The TOTAL size of the process IF it was loaded into memory.
So if RSS was equal to VSZ then the entire process would be in memory.
Hats ? We don't need no stinkin' hats !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 09:41 AM
02-13-2003 09:41 AM
Re: memory being consumed by which process ?
KH -
As stated by Ken the UNIX95 command will nail the culprit.
UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1 | head -10
The above is what we use to nail the top ten offenders, worst at top.
This saved us on two occasions last week, in taht we we able to kill the top offender and keep the oracle db from crashing.
Please note that that a kill only was used as a kill -9 may not free the memory in use at the time.
Regards,
dl
As stated by Ken the UNIX95 command will nail the culprit.
UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1 | head -10
The above is what we use to nail the top ten offenders, worst at top.
This saved us on two occasions last week, in taht we we able to kill the top offender and keep the oracle db from crashing.
Please note that that a kill only was used as a kill -9 may not free the memory in use at the time.
Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
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