We use ps -aux to find out when tomcat process takes high CPU utilization, if that so we will send a alert to Group. But some times %CPU shows more than 100, but our application working fine. Is it bad sign or whether our understanding is correct fins CPU usage for a process

This is the output When I execute the command,

root     16228 106 24.0 2399428 1840576 ?     Sl   07:11 171:35 /usr/bin/java -Djava.util.logging.config.file=/opt/tomcat-rc-core-v1-inst01/conf/logging.properties -Dj
| improve this question | | | | |
  • Can you give an example? – Nathan C Jul 12 '13 at 17:36
  • Edited my Question, Here it shows CPU% 106 for tomcat process, But the application is working without any issues, Some other process is also running in the system and working without any issues. Is it bad sign when it shows more than 100 or is it normal – Selvakumar P Jul 12 '13 at 17:39

How many cores do you have on this server? 106% means it's occupying a full core plus a little of another. So, if you have say, 4 cores, a process that is multi-threaded (so it can handle pushing load to all cores) could reach 400%. top will confirm this behavior.

| improve this answer | | | | |
  • That's right. =) – Nathan C Jul 12 '13 at 17:58
  • When I first saw a process was using 360 I was worried my PC was about to blow up! Good to know I'm safe. – TMH Jul 23 '15 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.