Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?