If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Cpu utilization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-05, 08:34
carthik_s carthik_s is offline
Registered User
 
Join Date: Dec 2005
Posts: 1
Cpu utilization

Total CPU Utilization can be found using the emptystats command.

but is there a way to find the cpu utilization by individual process... As in, can we determine which process is taken much of CPU.

Thanks in advance for the replies.
Reply With Quote
  #2 (permalink)  
Old 12-23-05, 13:06
Benjamin_li Benjamin_li is offline
Registered User
 
Join Date: Mar 2005
Posts: 3
carthik_s:
I assume you want the command on UNIX.
Try "ps -au" for user processes. Column "%CPU" is what you want.
Or "ps -aux" for all processes.

Good luck!
Reply With Quote
  #3 (permalink)  
Old 12-28-05, 08:54
Tank Tank is offline
Registered User
 
Join Date: Feb 2004
Location: Copenhagen
Posts: 220
Root tools

If you're sufficiently high up in the hierarchy
on a sufficiently new version try looking into
the 'topas' command
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On