Module system

Source
Expand description

module for accessing system related information.

Structs§

Uptime
Struct to represent values in /proc/uptime.
User
Struct to represent a system user.

Functions§

boot_time
Return the system boot time expressed in seconds since the epoch.
uptime
Return an instance of Uptime
users
Return a list of system users currently logged in.