Module linux_info::system
source · Expand description
get system information (uptime, hostname, os release, load average, usernames, groups).
Structs§
- Read the hostname from /proc/sys/kernel/hostname.
- Read the load average from /proc/loadavg.
- Read the hostname from /proc/sys/kernel/osrelease.
- Read the load average from /proc/loadavg.
- Read uptime information from /proc/uptime.