Skip to main content

Module namespaces

Module namespaces 

Source
Expand description

Linux namespace sets (SPEC §11 “Namespaces”): processes grouped by the namespaces they live in, relative to oomtop’s own. Any process that does not share oomtop’s pid / net / mount / user / uts / ipc / cgroup namespaces is in some kind of sandbox — a container, bwrap/Flatpak, unshare, a browser renderer sandbox — so a sandbox that no engine rule knows still shows up, with its member count, memory and owner. Identities are the inode numbers of the /proc/<pid>/ns/* links (net:[4026531840]), readable for the user’s own processes without privileges. macOS has no namespaces.

Structs§

NamespaceReport
All namespace sets of a snapshot.
NamespaceSet
Processes sharing one namespace set that differs from oomtop’s.
NsIds
Namespace identities of one process (None = link not readable / not present on this kernel).

Enums§

NsKind
One namespace type.

Functions§

namespace_sets
Groups s.processes by namespace set relative to oomtop’s own (s.self_pid).
parse_ns_links
Parses readlink /proc/<pid>/ns/* targets, one per line (net:[4026531840]); pid_for_children and time* links and malformed lines are ignored.