Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

meaning of the ps command columns

Status
Not open for further replies.

Tuong

Programmer
Dec 13, 2000
4
FR
The ps command gives the following information:

RSS (ps v) Real-memory (resident-set) size of the process
SIZE (ps v) Virtual size of the data section of the process
VSZ (ps -o vsz) Size of the proces in virtual memory
SZ (ps l) Size of the core image of the process
SSIZ (ps s) Size of the kernel stack (0 if multi-threaded)
TRS (ps v) Size of the resident-set of text
TSIZ (ps v) Size of text (shared program) image

Here is what I've got on one of my process :

RSS SIZE VSZ SZ SSIZ TRS TSIZ
1624 756 756 1376 0 696 624

Why is it that VSZ (756) is equal to SIZE ?
I though VSZ was supposed to be the total size of the memory used by the process as it is documented as the size of the process in virutal memory.

What exactly is the meanings of the SZ column, which value is strangely smaller than RSS (756 < 1624) ?

How can I compute the total amount of memory (resident + swapped) used by the process ?

Thankx


 
[tt]ps[/tt] is a very unaccurate command... try using [tt]svmon[/tt] from the performance management tools ([tt]bos.perf[/tt] or [tt]perfagent.tools[/tt]).

If you run then [tt]svmon -Pu 1[/tt] it will list all the processes from the biggest consumer of ram to the smaller.

I hope it works...
 
Hi!
I've three questions.

1. Where I can find "mpstat" utility for AIX? (or some other utility what "Collects and displays performance statistics for all logical CPUs in the system."). bos.acct and bos.perftools don't contain it.

2. Need utility what reports the number of processes what runnable but SWAPPED. For example, the vmstat under Solaris OS does it.

3. The "iostat" utility returns "Kbps" read AND write Kbits per second, but I need separately for READ and for WRITE. With what utility it's possible?

Thanks in advance,
Alex Tchumel.
 
1) mpstat is included in AIX 5.3.

2) I don't know of any.

3) I believe filemon gives that data

gg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top