for-win icon indicating copy to clipboard operation
for-win copied to clipboard

http://127.0.0.1:2375/containers/<some-container-you-have>/stats gives null blkio

Open ywang412 opened this issue 8 years ago • 2 comments

Expected behavior

http://127.0.0.1:2375/containers//stats should give blkio stats

Actual behavior

But the blkio is null. Below is the response

{"read":"2018-02-16T17:33:08.6050714Z","preread":"0001-01-01T00:00:00Z","pids_stats":{},"blkio_stats":{"io_service_bytes_recursive":null,"io_serviced_recursive":null,"io_queue_recursive":null,"io_service_time_recursive":null,"io_wait_time_recursive":null,"io_merged_recursive":null,"io_time_recursive":null,"sectors_recursive":null},"num_procs":8,"storage_stats":{"read_count_normalized":27287,"read_size_bytes":197374976,"write_count_normalized":162553,"write_size_bytes":905820160},"cpu_stats":{"cpu_usage":{"total_usage":120087827528,"usage_in_kernelmode":0,"usage_in_usermode":0},"throttling_data":{"periods":0,"throttled_periods":0,"throttled_time":0}},"precpu_stats":{"cpu_usage":{"total_usage":0,"usage_in_kernelmode":0,"usage_in_usermode":0},"throttling_data":{"periods":0,"throttled_periods":0,"throttled_time":0}},"memory_stats":{"commitbytes":1088184320,"commitpeakbytes":1088700416,"privateworkingset":673415168},"name":"/rmq","id":"3f4930d8cf3c03ad2a49a2a72a731a6aa8fa04e7e0bf670e6fcad7c6335006e1","networks":{"a59cc8d1-ae78-451d-ba71-dc813f100071":{"rx_bytes":0,"rx_packets":0,"rx_errors":0,"rx_dropped":0,"tx_bytes":0,"tx_packets":0,"tx_errors":0,"tx_dropped":0}}}

docker for linux work well. docker for windows doesn't give the blkio_stat

Information

  • Diagnostic ID from "Diagnose & Feedback" in the menu.
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version (Windows version, build number, etc)

Steps to reproduce the behavior

  1. ...
  2. ...

ywang412 avatar Feb 16 '18 18:02 ywang412

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Jul 30 '18 22:07 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 26 '20 03:06 docker-robott