Crates.io | os_stat |
lib.rs | os_stat |
version | 0.1.0 |
source | src |
created_at | 2020-09-30 07:19:24.871465 |
updated_at | 2020-09-30 07:19:24.871465 |
description | A library to get system metrics like cpu load and memory usage |
homepage | |
repository | https://github.com/Krout0n/os-stat-rs |
max_upload_size | |
id | 294519 |
size | 21,075 |
This is a library to get system metrics like cpu load and memory usage, inspired by go-osstat.
os_stat = "0.1"
extern crate os_stat;
fn main() {
dbg!(os_stat::CPU::get());
}
Only Linux(>= 2.6.33)