The VMware Carbon Black Tech Zone is live! Checkout this great resource: Mastering Carbon Black Audit & Remediation.

Docker Memory Usage

Description: Statistics on Docker container memory usage.

What The Data Shows: Lists statistics on Docker container memory usage including a calculation of the percentage of current and maximum memory usage.

SQL: 

SELECT name,memory_limit, 
  SUBSTR((memory_usage*1.0/memory_limit*100),0,5) AS '% memory current',
  SUBSTR((memory_max_usage*1.0/memory_limit*100),0,5) AS '% memory max'
FROM docker_container_stats
WHERE id IN (SELECT id FROM docker_containers);
0 Votes
1 Comment
Query_Admin
Community Manager
Community Manager
Status changed to: Approved