Expand description
Linux probes: CPU, distro/kernel, memory, storage, board class and binfmt emulation.
Sources: /proc/cpuinfo, /proc/device-tree/model, /etc/os-release,
uname -r, /proc/meminfo, /proc/mounts, df, and
/proc/sys/fs/binfmt_misc.
Functions§
- binfmt_
arch - Arch a binfmt handler emulates, or
Nonefor handlers that are not CPU emulators (register,status, Mach-O shims, …). - emulated_
from_ listing - Parse
name enabled|disabledlines into emulated arches, excluding the native one. Sorted and deduplicated. - host_
binfmt_ emulated - Emulated arches registered with this kernel’s binfmt_misc.
- live_
free - Current available memory, from
/proc/meminfoalone (cheap live probe). - probe
- Run the Linux probes.