Solved

PRSTAT Info in Solaris 8

Posted on 2006-11-12
6
3,363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 79

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses

622 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