How to monitor per core CPU utilization?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to monitor per core CPU utilization?
# 1  
Old 02-14-2012
How to monitor per core CPU utilization?

I can use top to see the overall cpu utilization in the system but i m using a system with 24 cores .How would i monitor each core utilization ?

The system is used as Oracle VM Server for Virtualization.

My distribution details.

Code:
# lsb_release -a
LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description:    Oracle VM server release 2.2.2
Release:        2.2.2
Codename:       n/a

# uname -r
2.6.18-128.2.1.4.44.el5xen

# 2  
Old 02-14-2012
try with "sar" utility

sar - Collect, report, or save system activity information.
This User Gave Thanks to kalpeer For This Post:
# 3  
Old 02-14-2012
For a quick view, mpstat will give you individual CPUs. For monitoring, pinga123 is correct; sar is the answer unless you want to roll your own. I use a custom rrdtool script for my purposes.

Carl
This User Gave Thanks to BOFH For This Post:
# 4  
Old 02-15-2012
Thank you all for your replies but i got it solved using top.

Just run top and press numeric 1 and you get core wise cpu utilization.
# 5  
Old 02-15-2012
Command to find real memory used by a process in unix

Hi,

I would like to know what command should be used to find the real memory used by a process in unix i tried top but its not listing the correct usage of memory i also tried sar.prstst,vmstat none of these commands are working in our server,can some one help me out Smilie
# 6  
Old 02-15-2012
Quote:
Originally Posted by Divysai
Hi,

I would like to know what command should be used to find the real memory used by a process in unix i tried top but its not listing the correct usage of memory i also tried sar.prstst,vmstat none of these commands are working in our server,can some one help me out Smilie
Did you try using this?
Code:
ps -aux

# 7  
Old 02-17-2012
@pinga123

Hi,
I tried it ,i got the following
Code:
$ ps -aux
ps: unknown user x
   PID TTY       TIME COMMAND

I am entirely new to unix please help me out Smilie

Last edited by methyl; 02-17-2012 at 09:27 AM.. Reason: please use code tags
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

2. Shell Programming and Scripting

Monitor Core utilization in Solaris Sparc

I am trying to read the Sparc HW counter using the following command: cpustat -c Instr_cnt .1This command will be running forever (for some time until interrupted by user). Sample output is: time cpu event pic1 1.011 0 tick 6450 1.011 1 tick ... (10 Replies)
Discussion started by: Zam_1234
10 Replies

3. Shell Programming and Scripting

Looking for shell script to monitor CPU utilization and send mail once exceed 75%

Dear Group, I'm look for shell script to Monitor CPU usage and send mail once it exceed 75% I'm running Suse10.4. (3 Replies)
Discussion started by: clfever
3 Replies

4. UNIX for Advanced & Expert Users

CPU utilization

Hi, any commande on AIX 6.1 that shows me total CPU utilization ? I saw curt in documentation but there should be a trace file before. Thank you. (1 Reply)
Discussion started by: big123456
1 Replies

5. UNIX for Advanced & Expert Users

Monitor % utilization of the network card

Hello, How to we typically monitor the % of utilization of network cards on a Unix box,basically the % utilization of the bytes transfered of the network card. This is required on all the flavours of OS - HP, AIX, RHEL, Sun etc. Please let me know. Thanks. (1 Reply)
Discussion started by: devtakh
1 Replies

6. Shell Programming and Scripting

need help for scrip to monitor disk utilization

Hi, I need help to write a script which will monitor disk utilization. Please suggest the best approach to achive this. I am thinking of having sleep inside the script which will run for(eg.) 60 secs and then disk utilization will be checked and depends on the % usage of disk mail will... (1 Reply)
Discussion started by: sunilmenhdiratt
1 Replies

7. AIX

CPU Utilization

Hi All, Can some one help me in finding % CPU Utilization ? From VMSTAT command, How we can find % utilization ? Thanks (3 Replies)
Discussion started by: VBudatha
3 Replies

8. Emergency UNIX and Linux Support

How to monitor a process memory utilization?

hi frnds, I want to monitor a particular process very closly on how much memory it is taking. i tried with TOP and PRSTAT commands that is not giving what exactly i need. In my application, there is a memory leak happening, i want to know when it is occuering, means which transcation is... (9 Replies)
Discussion started by: vij_krr
9 Replies

9. Programming

how to monitor the child process on which cpu core

Hi all. Sorry to express my questions wrongly in my early post,I repost my question again here. My pc has dual core, I wirte an application with two process, parents process and child process. My quetion is how to realize :if the child process is on core 0,it will tell me I'm on core 0,if it... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

10. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies
Login or Register to Ask a Question