Docker has a built-in stats command that makes it simple to see the amount of resources your containers are using. Just drop $ docker stats
in your CLI and you’ll get a read out of the CPU, memory, network, and disk usage for all your running containers.
But this command only gives you a current moment in time. What if you wanted to see the evolution of the resources over time? Or see how much CPU and memory a Docker Compose project is using? Or sort containers by the most CPU-intensive, then filter by CPU usage over 80%?
With the Resource Usage extension, you can get a clearer view of your usage and the ability to analyze the data for better insights.
Tabular View
Chart View
Using Filters
This extensions provides you with the capability to filter each of these metrics like CPU, Memory etc