Operating System - HP-UX
1747984 Members
4704 Online
108756 Solutions
New Discussion юеВ

Re: What control the CPU usage ?

 
SOLVED
Go to solution
hangyu
Regular Advisor

What control the CPU usage ?

In my server , some application program are running in the database , I found that some process use high CPU util ( eg. 25.2 ) , but some are using very low CPU util ( eg. 03 ) , I am strange that the program is similiar , but why have different CPU util ? what is the main reason of they have such difference ? thx.
2 REPLIES 2
Peter Godron
Honored Contributor
Solution

Re: What control the CPU usage ?

Hi,
without knowing the application it is diffult to say, but my first point would be to check what the program is doing. If it doing a lot of I/O, the CPU usage would be low, whereas if it doing a lot of calculations the CPU usage would be high. It just depends on when you are monitoring the process.
Amongst other things that can have an impact are process priority and whether the data is already in memory.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: What control the CPU usage ?

It might be as the result of process swapping also, where the CPU runs various processes turn by turn.

Monitor it for a couple of minutes and you will find out how things change.
Vibhor Kumar Agarwal