Understanding TOP & SAR CPU Util for User process
by dba_not_adm9 from LinuxQuestions.org on (#5G8BH)
Hello-
I am trying to understand how to properly use TOP & SAR. I am on Oracle Linux 7, there is a process that is running into issues and in TOP shows 100% for CPU, however SAR does not show CPU at 100 but somewhere in 20,15 % range. This server has hyper threading and is a 16 processer( from cat /proc/cpuinfo).
Does Linux by default allocate CPU per process ? So of 16 CPU only 1 is at 100% ? IS there any settings I should look into ? I am not trying to increase CPU for that process but want to understand why top & sar show different values.


I am trying to understand how to properly use TOP & SAR. I am on Oracle Linux 7, there is a process that is running into issues and in TOP shows 100% for CPU, however SAR does not show CPU at 100 but somewhere in 20,15 % range. This server has hyper threading and is a 16 processer( from cat /proc/cpuinfo).
Does Linux by default allocate CPU per process ? So of 16 CPU only 1 is at 100% ? IS there any settings I should look into ? I am not trying to increase CPU for that process but want to understand why top & sar show different values.