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?
# 8  
Old 02-17-2012
Quote:
Originally Posted by Divysai
@pinga123

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

I am entirely new to unix please help me out Smilie
I think theres some problem with user.
can you post the output for
Code:
# cat /etc/passwd |grep `whoami`

# 9  
Old 02-17-2012
@Divysai
There is much variation in the "ps" command. You have posted a Berkeley syntax which does not work on every unix/Linux system. The command posted by pinga123 is to find the processes running by a non-root user called "x".

Please post what Operating System and version you have, blanking anything confidential (like the computer name) with X's:
Code:
uname -a


How do you identify which process you are interested in? Do you know the process ID ?
Can you post example command and output where you believe that the answer is incorrect?

Last edited by methyl; 02-17-2012 at 09:26 AM..
 
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