Unix Technical Forum

find out how much memory is used by each process

This is a discussion on find out how much memory is used by each process within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> We run DB2 v8 on HP-UX11. I want to figure out how much memory is taken by each DB2 ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 05:54 PM
Joe Philip
 
Posts: n/a
Default find out how much memory is used by each process

We run DB2 v8 on HP-UX11. I want to figure out how much memory is taken by
each DB2 process. What is the command to do that?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 05:54 PM
Surinder Kumar
 
Posts: n/a
Default Re: find out how much memory is used by each process

1. Use xpg4 "ps" with sz and vsz option
ps -o pid, sz, vsz, comm, args
sz => size in physical pages of process
vsz => size in KBs

2. Also you can use top
Check SIZE(total virtual size of the process in KB) and RES(resident
size of the process in KB)

3. General "ps"
# ps -efl

Check SZ(size of the process in pages)
--

Regards
Surinder Kumar
Phone # 91-80-2053194

A smooth sea never made a skillful mariner


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 05:55 PM
Ted Linnell
 
Posts: n/a
Default Re: find out how much memory is used by each process

"Joe Philip" <joe.philip@verizon.net> wrote:

>We run DB2 v8 on HP-UX11. I want to figure out how much memory is taken by
>each DB2 process. What is the command to do that?
>

Do you have glance installed on the system?
It should be able to tell you this.

Regards,

Ted.


================================================== ============
| Ted Linnell <edlinnell@acslink.net.au> |
| |
| Nunawading, Victoria , Australia |
================================================== ============
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:12 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com