Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Disk IO stats and ext4 FS stats #651

Merged
merged 1 commit into from
Sep 6, 2024

Commits on Aug 12, 2024

  1. Add Disk IO stats and ext4 FS stats

    Adds function to return disk stats from:
    * /sys/block/<disk>/device/ioerr_cnt: number of SCSI commands that completed with an error
    * /sys/block/<disk>/device/iodone_cnt: number of completed or rejected SCSI commands
    
    Add function to return stats for ext4 filesystem
    * /sys/fs/ext4/<partition>/errors_count: number of ext4 errors
    * /sys/fs/ext4/<partition>/warning_count: number of ext4 warning log messages
    * /sys/fs/ext4/<partition>/msg_count: number of other ext4 log messages
    
    Signed-off-by: Muhammad Shahzeb <mhmdshahzeb1993@gmail.com>
    mshahzeb committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    6069bcb View commit details
    Browse the repository at this point in the history