Solved

PRSTAT Info in Solaris 8

Posted on 2006-11-12
6
3,333 Views
Last Modified: 2013-12-21
How do i read prstat information in Solaris 8?

The information like CPU usage memory are given for particular user and the usage and CPU usage cannot be for a specific user. Is it not overall for the system or for processes.
0
Comment
Question by:rharivenkatesh
  • 2
6 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 17926557
Most people use top as it gives you additional information over prstat, such as system CPU utilisation.

Grab top from http://sunfreeware.com/
0
 

Author Comment

by:rharivenkatesh
ID: 17927726
In our organization we do not have access to install these and we are using "prstat". Please help me in this.

PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP

With respect to specific user what does the value say for CPU. Is it is the usage for that user?

In the below list for "prstat -a" some times MEMORY goes to 100%.
How can it go for a specific user? Is it cumulative?
What is NPROC?
What is RSS and how do i interpret for Solaris machine user say "maestro"?

NPROC USERNAME  SIZE   RSS MEMORY      TIME  CPU
     4 maestro    22M   14M   0.2%   0:06.53 0.3%
    64 root      272M  175M   2.1%   1:11.41 0.2%
     3 rxfrapp1 9240K 5744K   0.1%   0:00.00 0.0%
     3 mqm        15M 8472K   0.1%   0:00.00 0.0%
     1 patrol   7592K 5456K   0.1%   0:00.01 0.0%

Thanks.

Regards.
Hari.

0
 
LVL 48

Accepted Solution

by:
Tintin earned 25 total points
ID: 17927806
man prstat

is a good place to start.

CPU - The percentage of recent CPU time used by  the  process.
NPROC - number of processes (admittedly, this doesn't appear in the man page)
RSS - Resident Size Set, ie: the current amount of resident memory.  In the case of the maestro user, it has 4 processes which total 22MB of memory or which 14MB is resident.

If a user/process is reporting 100% of memory, the system is most likely doing swaping/paging.





0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 25 total points
ID: 18022345
you can also use vmstat, iostat, memstat provided those are installed/available on your system.  You need not install top, you could compile and run it from your home dir.  Certain functionality might not be present, but give that a try.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now