Jump to content

Identifying Docker Container I/O on Specific Drives


Recommended Posts

Hello!

 

I've noticed some I/O spikes on my SSD, and want to figure out which Docker container is causing that. While `docker stats` shows Block I/O, it's constantly at 0 for me, no matter where and what kind of data is written or read.

I have also tried csysdig, which requires a kernel module, which isn't in the unraid kernel. Another tool that was looked at is bcc-tools, but that needs to be run bare-metal.

 

My objective is to track down the I/O metrics for each disk for each container, but more specifically, I want to measure how much each container is reading from or writing to a particular drive, in this case, my SSD. Eventually, I want to store those metrics in InfluxDB to display the reads/writes in Grafana. I'm already using the telegraf docker plugin, but that doesn't report the block I/O.

 

Appreciate any insight help you can offer!

Link to comment
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...