module

Data

Lazy-cached system data — run once, read from Data.*

Class methods

distro_base

Parent distro for derivatives: "ubuntu_24.04" for Mint 22, "rhel_8" for Rocky 8 nil if the distro IS the base (ubuntu, debian, rhel) or unknown

Source
distro_family

"dpkg", "rpm", or nil — detected via executable presence

Source
distro_release

"linuxmint_22.3", "ubuntu_22.04", "debian_11", "rhel_8", etc.

Source
env_output
Source
groups
Source
hostname
Source
id_info
Source
in_container?
Source
kernel
Source
kernel_major
Source
kernel_minor
Source
kernel_parts
Source
kernel_patch
Source
kernel_pkg_version

Installed kernel package version string — one spawn, cached

Source
mount_for(path : String) : NamedTuple(mount: String, fstype: String, opts: Set(String)) | Nil
Source
mounts
Source
nosuid_mount?(path : String) : Bool
Source
os_release
Source
passwd
Source
path_dirs
Source
proc_caps
Source
proc_status
Source
ps_output
Source
sgid_files
Source
shadow
Source
sudo_l
Source
sudoers
Source
suid_files
Source
uname_full
Source