Operating System - HP-UX
1835086 Members
2326 Online
110073 Solutions
New Discussion

Re: Memory usage for DB and process

 
Pando
Regular Advisor

Memory usage for DB and process

Dear Gurus,

I would like to ask what command to use to know how much memory is being used by a particular database and process it use in a test or production environment server. Thanks!
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: Memory usage for DB and process

By far, the best tool is Glance. You can also use:

UNIX95=1 ps -e -o comm,pid,vsz
combined with
ipcs -a

Bear in mind when trying to sum memeory usage that shared memory segments, shared library code, and shared text segments may be counted more than once, so getting an accurate, well-defined value is difficult.
If it ain't broke, I can fix that.