Skip to content

Commit

Permalink
iostat for low kernel version
Browse files Browse the repository at this point in the history
  • Loading branch information
UlricQin committed May 26, 2021
1 parent 5d40566 commit 1726881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nux/iostat.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func ListDiskStats() ([]*DiskStats, error) {

size := len(fields)
// kernel version too low
if size != 14 {
if size < 14 {
continue
}

Expand Down

0 comments on commit 1726881

Please sign in to comment.