Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllBinaryProcs ¶ added in v0.11.0
GetProcNS returns the namespace ID of a given namespace and process. To do so, it requires access to the /proc file system of the host, and CAP_SYS_PTRACE capability.
func GetMountNSFirstProcesses ¶
GetMountNSFirstProcesses return mapping between mount NS to its first process (aka, the process with the oldest start time in the mount NS)
func GetProcBinary ¶ added in v0.11.0
GetProcNS returns the namespace ID of a given namespace and process. To do so, it requires access to the /proc file system of the host, and CAP_SYS_PTRACE capability.
func GetProcNS ¶
GetProcNS returns the namespace ID of a given namespace and process. To do so, it requires access to the /proc file system of the host, and CAP_SYS_PTRACE capability.
func GetProcessStartTime ¶
GetProcessStartTime return the start time of the process using the procfs
Types ¶
type ProcNS ¶
type ProcNS struct { Cgroup int Ipc int Mnt int Net int Pid int PidForChildren int Time int TimeForChildren int User int Uts int }
func GetAllProcNS ¶ added in v0.11.0
GetAllProcNS return all the namespaces of a given process. To do so, it requires access to the /proc file system of the host, and CAP_SYS_PTRACE capability.