check-linux-by-ssh icon indicating copy to clipboard operation
check-linux-by-ssh copied to clipboard

check_disk_stats: allow to work with newer kernels

Open lynxis opened this issue 6 years ago • 0 comments

Newer kernel might export more values via /proc/diskstats, because of the multiple assignment, this will produce a "ValueError: too many values to unpack". Use an index on the data instead of a huge multiple left assignment.

Signed-off-by: Alexander Couzens [email protected]

lynxis avatar Nov 22 '19 14:11 lynxis