prstat -t SIZE is 804 GB.


 
Thread Tools Search this Thread
Operating Systems Solaris prstat -t SIZE is 804 GB.
# 1  
Old 10-10-2008
Power prstat -t SIZE is 804 GB.

Hi,

I have run prstat -t 1 on a Solaris 9 server which has been under pressure recently. This is the output I have got.

NPROC USERNAME SIZE RSS MEMORY TIME CPU
403 oracle 804G 705G 100% 33:34:18 62%

Here is the explanation for SIZE and RSS.

SIZE The total virtual memory size of the process, includ-
ing all mapped files and devices, in kilobytes (K),
megabytes (M), or gigabytes (G). The resident set size
of the process (RSS), in kilobytes (K), megabytes (M),
or gigabytes (G).


How can the size be 804GB? The CPU is also regularly up to 100% for a period of time.

Total memory physical RAM in the server is 8GB.

Memory size: 8192 Megabytes

Total swap:

# swap -s
total: 2757296k bytes allocated + 683680k reserved = 3440976k used, 5427800k available

Thanks.
# 2  
Old 10-10-2008
Check your swap space. Our server does that when it runs out of swap space. Also check your temp (tmp) directory to make sure it isn't to full. Mail could also be another culprit. Just a few things I have run across.
# 3  
Old 10-10-2008
Check your disk i/o during that surge and also the swap might be running out
# 4  
Old 10-12-2008
that's because solaris counts the amount of memory per process, so if you run your oracle db there are many processes that uses the same memory area, that's called shared-memory, e.g your oracle SGA... for example, if you have 5 processes that use 2 GB as shared memory, solaris will say, that 10GB of memory are in use, based on the sum... look at your ipcs -a output

if your sun is swapping you have to less memory, you could add more DIMMs or tune your database... and if the load is around 90%, your mashine is not powerfull enough to run your applications... Smilie

gP
# 5  
Old 10-14-2008
Data

Thanks for your help everyone. I just wanted to confirm the obvious. The machine is not powerful enough to run the applications. Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

prstat on Solaris 8

On Solaris 8, when I try to run prstat 30 5 as a background process, the command exits 1-2 seconds after it's initiated instead of the 30 seconds I specified. It runs fine in interactive mode. Is there a workaround to this I could use? (Upgrading the package is not an option) A link to... (1 Reply)
Discussion started by: Devyn
1 Replies

2. Shell Programming and Scripting

prstat from ptree ...

Hi, I know how to figure out the list of PID from my application name : ptree `pgrep MyApp` | awk '{print $1}' But I dont know how to pipe it for prstat -p <pidlist> ptree `pgrep MyApp` | awk '{print $1}' | prstat -p ??? I would like to monitor every ptree PID from my application. ... (4 Replies)
Discussion started by: RickTrader
4 Replies

3. Solaris

prstat

hi all, was trying to figure out how busy my app was by looking at the performance of the app server. did a 'prstat -s rss' command to find the app servers using most memory. Found a command 'prstat -m' which is meant to show more details on each pid but the output of this command... (1 Reply)
Discussion started by: cesarNZ
1 Replies

4. Shell Programming and Scripting

prstat

hi all, am writing a ksh script on solaris 9 to get the number of threads taken by a process. am using the prstat -p command to do this. output i get is : :"/export/home/user" > prstat -p 25528 | cut -f2 -d/ NLWP 203 Total: 1 processes, 203 lwps, load averages: 2.58, 3.24, 3.62... (2 Replies)
Discussion started by: cesarNZ
2 Replies

5. Solaris

prstat O/P

Good Evening everyone, I am confused about prstat O/P as it shows memory values which are different from actual value.Below is the O/P of prstat command and swap commands. NPROC USERNAME SIZE RSS MEMORY TIME CPU 48 root 2113M 1590M 1.2% 45:09.39 32% 31 daemon ... (7 Replies)
Discussion started by: vvpotugunta
7 Replies

6. Solaris

prstat log

Hi All, But the prstat logs of my system shows:- NPROC USERNAME SWAP RSS MEMORY TIME CPU 77 oracle 17G 10G 65% 4:24:47 0.8% Total: 486 processes, 3850 lwps, load averages: 3.77, 4.45, 4.94 What does the MEMORY denotes? Is it the %memory used from RAM? Or is the %memory used by... (10 Replies)
Discussion started by: dipashre
10 Replies

7. Shell Programming and Scripting

prstat problem

This will be a smaple output for my prstat -t NPROC USERNAME SIZE RSS MEMORY TIME CPU 43 root 249M 62M 1.5% 33:50:01 0.1% 12 oadmin 1396M 862M 22% 0:06:49 0.1% 2 acne 3960K 3176K 0.1% 0:00:00 0.0% 4 essagent 10M 7456K 0.2% 0:00:00 0.0%... (6 Replies)
Discussion started by: vivsiv
6 Replies

8. Shell Programming and Scripting

prstat in shell

Hello, How can I do to use prstat command in a korn-shell ? Thanks a lot. Rgds. (4 Replies)
Discussion started by: madmat
4 Replies

9. UNIX for Dummies Questions & Answers

Help with prstat

Hello, The last line of prstat shows load average. I am unable to figure out what actually it is. I have read the man pages and also googled, all for no use. Can somebody help me, as to what should be the avg. load of the system for best performance and how is this load of prstat calculated. (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
Login or Register to Ask a Question