- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NRRequests (0.15 sec)
-
internal/disk/stat_linux.go
if e == nil { parentDev := filepath.Base(filepath.Dir(parentDevPath)) qst, err = bfs.SysBlockDeviceQueueStats(parentDev) } } if err == nil { info.NRRequests = qst.NRRequests rot := qst.Rotational == 1 // Rotational is '1' if the device is HDD info.Rotational = &rot } } } } return info, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.8K bytes - Viewed (0)