Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Memory usage by each process

salmanqureshi-2314430Feb 10 2012 — edited Feb 12 2012
Hi,
Following i "prstat -a" output.
PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  8961 dbora      10G 6548M cpu5     0    0   0:02:47  12% oracle/2
 26203 dbora      10G 6547M cpu0     0    0   0:46:14  10% oracle/1
  8799 dbora      10G 6548M sleep   59    0   0:00:25 1.6% oracle/2
  8818 dbora      10G 6545M sleep   55    0  39:38:28 1.2% oracle/2
 21277 dbora      10G 6544M sleep   49    0   6:54:31 0.7% oracle/2
 15727 dbora      10G  786M sleep   49    0  22:16:05 0.4% oracle/2
 15716 dbora      10G  769M sleep   59    0  14:16:43 0.2% oracle/2
 29424 dbora     491M  479M sleep   59    0  11:48:03 0.1% oracle/1
 15622 dbora    1214M  667M sleep   59    0  11:38:00 0.1% oracle/1
  1450 root      113M   80M sleep   59    0  81:12:15 0.1% crsd.bin/57
 15660 dbora      10G  653M sleep   59    0   7:54:15 0.1% oracle/1
 12403 dbora      10G 6825M sleep   59    0   2:52:04 0.1% oracle/1
 15682 dbora      10G  657M sleep   59    0   9:24:41 0.1% oracle/1
 10622 salman   7432K 4728K sleep   59    0   0:00:00 0.1% sshd/1
 12340 dbora    1499M 1136M sleep   59    0   7:02:44 0.1% oracle/1
 NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU
   179 dbora      15G   14G    90% 303:14:40  29%
    40 root      228M  256M   1.6% 104:27:33 0.2%
     3 salman   4080K 9872K   0.1%   0:00:00 0.1%
     3 daemon   3552K 5616K   0.0%   0:01:55 0.0%
     1 smmsp    1312K 4448K   0.0%   0:00:37 0.0%
Total: 226 processes, 600 lwps, load averages: 2.42, 1.81, 1.48
I have total 16G RAM installed and total 14G memory is consumed by the processes under user "dbora" which is Oracle software owner on this system and a lot of sessions(processes) run under this user. I actually want to list all the processes running under this user with the memory/virtual memory consumed by each of this process to find out which process is the biggest memory eater. Is there any command which can give me this output. I would be interested in "private" memory consumption of this process more than shared memory consumption by the processes.

Thanks

Salman
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2012
Added on Feb 10 2012
3 comments
216 views