Skip to main content

activity

Function activity 

Source
pub fn activity() -> Result<Activity>
Expand description

Swap and paging activity over the next second. Blocks for one second; a monitor keeps a Sampler instead.

ยงErrors

Unsupported where the OS has no system-wide paging counters; otherwise as Sampler::sample.