1838648 Members
2194 Online
110128 Solutions
New Discussion

Re: Trace memory grow

 
Benedetto Mangiapane
Frequent Advisor

Trace memory grow

Hi,
it is possible to trace, width tusc or some other tools, a process alone when the memory used increases?

Thanks.
3 REPLIES 3
Peter Godron
Honored Contributor

Re: Trace memory grow

Benedetto,
please see this current thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1119748

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have awarded points to only 11 of 36 answers !
Dennis Handly
Acclaimed Contributor

Re: Trace memory grow

You can use tusc and look for the brk calls. You can also use wdb's heap profiling commands if you need more than just the highwater mark.
Rasheed Tamton
Honored Contributor

Re: Trace memory grow

Hi,

UNIX95=1 ps -p???? -o comm,pid,etime,sz=KB
(physical memory size)

UNIX95=1 ps -p???? -o comm,pid,etime,vsz=KB
(virtual mem size)

on a while do script will give you an online output (use your process id instead of ????).


Regards,
Rasheed Tamton.