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

Docker Network Traffic Size

Description: Statistics on Docker container network traffic size.

What The Data Shows: Lists statistics on Docker container network traffic size including transmit, recieved, and total bytes sent.

SQL: 

SELECT name,(network_rx_bytes+network_tx_bytes) as 'Total network bytes', 
  SUBSTR((network_rx_bytes*1.0/(network_rx_bytes+network_tx_bytes)*100),0,5) AS '% rx bytes',
  SUBSTR((network_tx_bytes*1.0/(network_rx_bytes+network_tx_bytes)*100),0,5) AS '% tx bytes'
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