top - 12:10:09 up 2:18, 6 users, load average: 0.03, 0.03, 0.00
Tasks: 35 total, 1 running, 34 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.1 us, 1.4 sy, 0.0 ni, 96.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 1735912 total, 437708 free, 378916 used, 919288 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 1188436 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
251 alan_ch+ 20 0 636432 12428 6504 S 0.2 0.7 0:02.46 python
1 root 20 0 17980 2800 2496 S 0.0 0.2 0:00.01 bash
8 root 20 0 250120 2212 1776 S 0.0 0.1 0:00.84 rsyslogd
38 root 20 0 69952 3040 2268 S 0.0 0.2 0:00.00 sshd
Google Cloud includes Cloud Shell. This provides an interactive Linux sandbox, which can be used for light administration or testing tasks. It is available without payment or payment information. Terms and conditions apply.
The summary CPU usage in top
consistently shows as around 3-6%, even after increasing the interval (top -d 10
). But, the if you look at the CPU usage shown for the individual processes, it doesn't add up.
What is using the CPU?