Docs.rs
linux-info-0.1.16
linux-info 0.1.16
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
soerenmeier
Dependencies
byte-parser ^0.2.1
normal
dbus ^0.9
normal
optional
libc ^0.2
normal
memchr ^2.4.1
normal
mmdbus ^1.16
normal
optional
nmdbus ^1.20
normal
optional
serde ^1.0
normal
optional
simple-bytes ^0.2.11
normal
uuid ^0.8
normal
Versions
60.87%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
linux_
info
0.1.16
Module system
Module Items
Structs
In crate linux_
info
linux_info
Module
system
Copy item path
Source
Expand description
get system information (uptime, hostname, os release, load average, usernames, groups).
Structs
ยง
CpuStat
Hostname
Read the hostname from /proc/sys/kernel/hostname.
LoadAvg
Read the load average from /proc/loadavg.
OsRelease
Read the hostname from /proc/sys/kernel/osrelease.
Stat
Read the load average from /proc/loadavg.
Uptime
Read uptime information from /proc/uptime.