pub fn current_pid_namespace() -> Option<String>Expand description
What:
The identity of this process’s PID namespace, such as pid:[4026531836], or nothing where the system has none.
Why:
The kernel names a namespace by an inode; two processes share a PID space exactly when the names are equal.
In TS you’d write (pseudocode):
readlinkSync('/proc/self/ns/pid')