Operating System - HP-UX
1825719 Members
2911 Online
109686 Solutions
New Discussion

Memory size of the process

 
SOLVED
Go to solution
Alex Lavrov.
Honored Contributor

Memory size of the process

Hello,
I looked for a way to know how much memory takes specific process (without glance), I found this way:

export UNIX95=1 (to use XPG4)
ps -ef -o sz,args

then I find the size of the memory page by:
kmtune | grep vps_pagesize

in my system it's 4K and then I multiple the value of "sz" collumn, that represent numver of memory pages by 4.

Just wanted to ask hpux gurus if this is the right way to do it.


thanx.

I don't give a damn for a man that can only spell a word one way. (M. Twain)
2 REPLIES 2
Steve Steel
Honored Contributor
Solution

Re: Memory size of the process

Hi


Looks ok


for a lot more info on this sort of thing

ftp://eh:spear9@hprc.external.hp.com/memory.htm



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Lavrov.
Honored Contributor

Re: Memory size of the process

Thanx !
I don't give a damn for a man that can only spell a word one way. (M. Twain)