Registry / utility / systemstat

systemstat

JSON →
library0.2.7rscratesunverified

Retrieves system information and statistics in a cross-platform manner.

# Cargo.toml [dependencies] systemstat = "0.2.7"
INSTALL
IMPORT
SIG · SYSTEMSTAT
S
systemstat
utilityrustv0.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

System
use systemstat::System;

Gets total system memory using the systemstat crate.

use systemstat::System; let sys = System::new(); match sys.memory() { Ok(mem) => println!("Total memory: {} MB", mem.total.as_millis()), Err(e) => eprintln!("Error: {}", e), }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
systemstat — cargo add systemstat · libregistry