lsns
List information about all namespaces or about the specified namespace. tldr-pages
On Linux
Linux
List all namespaces
lsnsIdentifyList namespaces in JSON format
lsns --jsonIdentifyList namespaces associated with the specified process
lsns --task process_idIdentifyList the specified type of namespaces only
lsns --type mntIdentifyList namespaces, only showing the namespace ID, type, PID, and command
lsns --output NS,TYPE,PID,COMMANDIdentify