Home > other >  Docker stats returned by the CPU usage is zero, and do not refresh, docker version 1.7.1
Docker stats returned by the CPU usage is zero, and do not refresh, docker version 1.7.1

Time:09-25

Docker stats returned by the CPU usage is 0, but the process of the application in the corresponding docker, in the top of the CPU utilization rate is quite high, docker version is as follows:

The Client version: 1.7.1
The Client API version: 1.19
Go version (the client) : go1.4.2
786 b29d Git commit (client) :
OS/Arch (client) : Linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server) : go1.4.2
786 b29d Git commit (server) :
OS/Arch (server) : Linux/amd64

There are those who met this problem? Please answer

CodePudding user response:

 # docker version 

Client:
Version: 1.12.3
API version: 1.24
Go version: go1.6.3
Git commit: 6 b644ec
Built:
OS/Arch: Linux/amd64

Server:
Version: 1.12.3
API version: 1.24
Go version: go1.6.3
Git commit: 6 b644ec
Built:
OS/Arch: Linux/amd64

From HTTPD running a container, I use the browser to access the more frequently, the higher the CPU usage, there is no problem,
 # docker run - name apache - d - 80 p: 80 HTTPD 

 # docker stats 

% % MEM CONTAINER CPU USAGE/LIMIT MEM.net I/O BLOCK I/O PIDS
42 fe40fceb73 0.08% 13.81 MiB/MiB 1.39% 32.03 kB/993.1 19.98 kB of 5.929 MB/0 0 B

  • Related