DEV Community

Discussion on: How to See Memory and CPU Usage for All Your Docker Containers (on CentOS 6)

Collapse
 
jhmnieuwenhuis profile image
jhmnieuwenhuis

Use the following command, it will show the container names:

docker stats $(docker ps | awk '{if(NR>1) print $NF}')