Show CPU and memory usage of Docker containers
docker container memory usage | which docker container uses most cpu | docker stats no stream | docker | stats | memory | cpudocker stats --no-streamPrints one line per running container with CPU share, memory usage and limit, plus network and disk traffic. With --no-stream, the command ends after one measurement, without the option the display keeps updating like top.
Note: If the limit in MEM USAGE / LIMIT equals the entire host RAM, the container has no memory limit. Docker commands require root or the docker group.
Also searched as
- docker container memory usage
- which docker container uses most cpu
- docker stats no stream