Hi!
I work with HP-UX and I have to monitorize the use of virtual memory for different processes.
(java processes for Tibco Adapter) And if these processes exceed a limit send a message to the syslog.
I don�t know how to monitorize this...
Should I do a script? or use an aplication, for example glance?
any commands or ideas would be great!!!
Thanks and regards!
What type of message are you getting in the syslog.
glance might be a way forward, mwa might also be useful.
I'm trying to use glance.
Is there a way i can know how much virtual memory a process is using?
and print it in a file running glance in the background?
thanks
There is a memory info program called kmeminfo
goto irtc.hp.com and do a search.
Output might look like the below.
Summary of processes memory usage:
List sorted by physical size, in pages/bytes:
virtual physical swap
pid ppid pages / bytes pages / bytes pages / bytes command
16315 1728 17468 68.2m 5223 20.4m 4633 18.1m coda
16294 1 7571 29.6m 4424 17.3m 4542 17.7m midaemon
3351 3350 7710 30.1m 3985 15.6m 2718 10.6m rapsd
16295 1 7585 29.6m 3577 14.0m 3457 13.5m scopeux
1820 1 6129 23.9m 2345 9.2m 3596 14.0m vxsvc