1825723 Members
2959 Online
109687 Solutions
New Discussion

UNIX95 info for vsz

 
SOLVED
Go to solution
Nick Lunt
Frequent Advisor

UNIX95 info for vsz

Hi folks,
I need to get some process info off our hpux 11.11 box and I'm using UNIX95= ps commands.
I have a question regarding the output of the vsz column. I know it's in kbytes but how reliable is it ?
Im concerned because we have about 40 ODBC connections all of which are using 64Mb, which seems a lot.
So can I trust the vsz output from 'UNIX95= ps -eo "vsz,args" ' ?

Many thanks
Nick.
2 REPLIES 2
Stefan Farrelly
Honored Contributor
Solution

Re: UNIX95 info for vsz

Its not very reliable - thats why its valled 'virtual' size. It does not take into account shared memory or shared instruction code. Its only an 'approximation'. you have to use something more sophisticated like glance to get a more accurate memory size per process.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Nick Lunt
Frequent Advisor

Re: UNIX95 info for vsz

I suspected as much.
Thanks for the clarification.