From: Muqthar Ahmed (Muqthar.Ahmed@DECORATETODAY.COM)
Date: Fri Aug 02 2002 - 13:20:13 EDT
Thank you soooooooo much Therasa......I got the result using your recommendations.
Muqthar Ahmed
-----Original Message-----
From: Theresa Sarver [mailto:IFMC.tsarver@SDPS.ORG]
Sent: Thursday, August 01, 2002 5:33 PM
To: aix-l@Princeton.EDU
Subject: Re: Total memory usage by all processes
These are the commands I use:
1) svmon -Put 10 | more
The top line will provide you with all the info you need, and it will list your top 10 (oracle) memory hogs
FYI...(Inuse / 256) = MB (approximate)
2) ps vg | sort +r +5 | more
Sorts on the SIZE column, then you can use the PID to find the offender (oracle) - notice there is no '-' in front of the vg...very important
3) ps aux | sort -nr +3 | head
Lists the %MEM column - +2 lists %CPU. Again, no '-' in front of the aux.
Hope this helps;
Theresa
>>> Bill_Verzal@bcbsil.com 07/30/02 11:41AM >>>
I usually do:
ps auxwww
and then sum up the "RSS" column. Multiply the result by 4096.
RSS is "Real Segment Size" and is in 4096 byte segments.
-----------------------------------------------------------------------------------------------------------
Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
MailStop: 27.201C
|--------+--------------------------------->
| | Muqthar Ahmed |
| | <Muqthar.Ahmed@DECORATE|
| | TODAY.COM> |
| | Sent by: IBM AIX |
| | Discussion List |
| | <aix-l@Princeton.EDU> |
| | |
| | |
| | 07/30/2002 11:25 AM |
| | Please respond to IBM |
| | AIX Discussion List |
| | |
|--------+--------------------------------->
>----------------------------------------------------------------------------------------------------------|
| |
| To: aix-l@Princeton.EDU |
| cc: |
| Subject: Total memory usage by all processes |
>----------------------------------------------------------------------------------------------------------|
Hi,
I have coulple of Oracle databases running on IBM UNIX server. I could
calculate the total memory used by Oracle processes by running Oracle
scripts. Does anyone know how to get the TOTAL MEMORY USAGE for ORACLE and
NON-ORACLE processes???
Thanks in advance!
Muqthar Ahmed
Database Administrator
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:06 EDT