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!

Newbie question: How to read prstat

920697Feb 28 2012 — edited Mar 4 2012
Hi All,

I'm quite new to Unix environment and recently I tasked myself to verify what are the applications/instances that are consuming most of the system memory. I've read about PRSTAT to check the top CPU/Memory usage. I'm checking a "zoned" Solaris server with Oracle database application running in it. Here's what I got from PRSTAT command:

bash-3.00# prstat -s rss -n 10
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
16732 oracle 1149M 1126M sleep 59 0 0:00:01 0.0% oracle/1
13103 oracle 1153M 1126M sleep 59 0 1:34:37 0.0% oracle/1
28300 oracle 1152M 1123M sleep 59 0 0:16:14 0.0% oracle/1
8599 oracle 1152M 1120M sleep 59 0 0:29:08 0.0% oracle/1
8601 oracle 1151M 1118M sleep 59 0 0:00:20 0.0% oracle/1
8605 oracle 1151M 1118M sleep 59 0 0:40:15 0.0% oracle/1
8603 oracle 1150M 1118M sleep 59 0 4:03:03 0.0% oracle/1
8607 oracle 1148M 1115M sleep 59 0 3:57:20 0.0% oracle/1
8625 oracle 1160M 1113M sleep 59 0 0:11:19 0.0% oracle/12
8623 oracle 1160M 1113M sleep 59 0 0:03:22 0.0% oracle/12
Total: 118 processes, 1214 lwps, load averages: 7.21, 7.57, 6.03

And now, here are the series of questions I have:

1. How do I read the result above? It seems that there are a lot of oracle instances running ( I only got the top 10).
2. Is the SIZE the memory allocated to that instance? And RSS is the actual memory usage?
3. And PRSTAT even the best way to check the memory usage for any running applications?

Again, I'm an Oracle newbie and I hope to have some "enlightenment" on the questions above.

Thanks in advance!

gabud
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2012
Added on Feb 28 2012
2 comments
1,499 views