Operating System - Tru64 Unix
1752788 Members
5841 Online
108789 Solutions
New Discussion юеВ

display virtual memory usage

 
lawrenzo
Trusted Contributor

display virtual memory usage

Hello,

I am looking for a set of commands to monitor virtual memory on a tru64 server:

I have come up with:

vmstat
monitor

then I also use this on other systems:

UNIX95=1 ps -e -o vsz,ruser,pid,args | sort -rn |more

I read the man page and see vsz is Process virtual address size, is this telling me this is the virtual memory usage for the proc?

appologies for my tru64 ingnorance and any other tools I can use would be great.

Thanks

Chris.
hello
2 REPLIES 2
Hein van den Heuvel
Honored Contributor

Re: display virtual memory usage

fwiw, you don't need the UNIX95 for ps in Tru64.
The -o is a (tru64) standard extention with many options.

vss is indeed Virtual memory,
but rssize (RSZ) for the Resdent Size is often more critical. That's the 'real' memory used.

You also want to look at 'top', and for longer term data collection always think about 'collect' first.


http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN1/0380____.HTM

Hein

Ivan Ferreira
Honored Contributor

Re: display virtual memory usage

Besides collect, probably swapon -s is another command that may help. Check also the swap allocation mode kernel parameter (swap_eager).
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?