Documentation
¶
Overview ¶
fsstatus provides utility functions for querying several aspects of systemd's status, especially as pertains to monitoring.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListeningSockets ¶
ListeningSockets returns a list of all sockets in the "LISTENING" state
func ServiceActive ¶
ServiceLoaded returns whether or not the given systemd service has ActiveState=active
func ServiceLoaded ¶
ServiceLoaded returns whether or not the given systemd service has LoadState=loaded
func Timers ¶
Timers returns a list of the active systemd timers, as found under the UNIT column of `systemctl list-timers`. It can optionally list all timers.
func UnitFileStatuses ¶
UnitFileStatuses returns a list of all unit files with their current status, as shown by `systemctl list-unit-files`.
Types ¶
This section is empty.