Docs.rs
linux-info-0.1.13
linux-info 0.1.13
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
libc ^0.2
normal
memchr ^2.4.1
normal
mmdbus ^1.16
normal
nmdbus ^1.20
normal
serde ^1.0
normal
simple-bytes ^0.2.11
normal
uuid ^0.8
normal
Versions
54.36%
of the crate is documented
Go to latest version
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
☰
Module system
Structs
?
Module
linux_info
::
system
source
·
[
−
]
Expand description
get system information (uptime, hostname, os release, load average, usernames, groups).
Structs
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.
Uptime
Read uptime information from /proc/uptime.