Skip to content

Try use /sys/block/*/stat for disk_io_counters if /process/diskstats doesn't exist #1321

Closed
@LEAFERx

Description

For some VPS such as OPENVZ based, there is no /proc/diskstats, then psutil.disk_io_counters will fail.
But io Info's can still be collected by looking through /sys/block/*/stat. iostat has done that. Would you nicely add this feature for us who don't have /proc/diskstats? Really appreciate it :)

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions