package
0.0.0-20240831221938-81d58bd93b8c
Repository: https://github.com/vanilla-os/sdk.git
Documentation: pkg.go.dev
# Functions
GetAllGroups retrieves information about all groups on the system by parsing /etc/group.
GetAllUsers retrieves information about all users on the system by parsing /etc/passwd.
GetProcessInfo returns information about a specific process.
GetProcessList returns a list of all processes running on the system.
GetSupportedTimezones returns a list of supported timezones.
GetSystemInfo returns information about the system, such as OS, version, codename, architecture and machine type.
GetUsers retrieves users with the given usernames and UIDs.
KillProcess terminates a process given its PID.
RunningInBareMetal returns true if the system is running on bare metal, otherwise it returns false.
RunningInContainer returns true if the system is running in a container, otherwise it returns false.
RunningInVM returns true if the system is running in a virtual machine, otherwise it returns false.
RunningInVMOrContainer returns true if the system is running in a virtual machine or a container, otherwise it returns false.