heim_disk

Function io_counters

Source
pub fn io_counters() -> impl Stream<Item = Result<IoCounters>>
Expand description

Returns stream which will yield IO counters for all disks available in system.

ยงCompatibility

Same to similar tools, on Windows it may be necessary to issue diskperf -y command from cmd.exe first in order to enable IO counters.