Linux – CPU% more than 100 in ps -aux

cpu-usagelinuxps

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,

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME 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

Best Answer

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.