package
0.3.0-alpha
Repository: https://github.com/aeneasr/capsule8.git
Documentation: pkg.go.dev

# Functions

BootID gets the host system boot identifier.
Cgroups returns the cgroup membership of the process indicated by the given PID.
CommandLine gets the full command-line arguments for the process indicated by the given PID.
ContainerID returns the container ID running the process indicated by the given PID.
DeriveUniqueID returns a unique ID for thye process with the given PID and parent PID.
FS creates a FileSystem instance representing the default procfs mountpoint /proc.
MaxPid returns the maximum PID.
ReadFile returns the contents of the procfs file indicated by the given relative path.
Stat reads the given process's status and returns a ProcessStatus with methods to parse and return information from that status as needed.
UniqueID returns a reproducible namespace-independent unique identifier for the process indicated by the given PID.

# Structs

Cgroup describes the cgroup membership of a process.
FileSystem represents data accessible through the proc pseudo-filesystem.
ProcessStatus represents process status available via /proc/[pid]/stat.