D
D
Dima Kim2016-02-18 14:21:46
linux
Dima Kim, 2016-02-18 14:21:46

Top- how to diagnose correctly?

Good afternoon, below is the result of the top command,
I am worried about the increase in cpu user time 34.4%us, nevertheless load avg is always < 1

top - 12:15:51 up 1024 days,  7:04,  1 user,  load average: 0.10, 0.18, 0.17
Tasks: 188 total,   1 running, 187 sleeping,   0 stopped,   0 zombie
Cpu0  : 34.4%us,  3.5%sy,  0.0%ni, 62.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  :  0.0%us,  0.3%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.3%us,  0.3%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16336736k total, 10803508k used,  5533228k free,   271624k buffers
Swap: 25165816k total,    16836k used, 25148980k free,  5618348k cached

  PID USER      PR  NI  VIRT  RES  SHR  S %CPU %MEM    TIME+        COMMAND
 5903 Michael 20   0 14.3g  4.0g  16m S   36.2    25.5      108:42.59  Oracle

if you look at load avg then there is no reason to worry, but since us is growing, this means that the process is waiting for execution. and spend time on it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Olohtonov, 2016-02-18
@sgjurano

cpu user time is the amount of CPU time used by all applications except the kernel.
load average - the average number of processes in the queue for 1, 5, 15 minutes.
It makes sense to look at load avg.

M
Michael, 2016-02-18
@zuzuzu

I myself am not very smart, therefore:
habrahabr.ru/post/216827

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question