Skip to content

Instantly share code, notes, and snippets.

@ChinaXing
Last active November 16, 2018 06:27
Show Gist options
  • Save ChinaXing/6c00388eb6b37df06b5aa0a5792f9752 to your computer and use it in GitHub Desktop.
Save ChinaXing/6c00388eb6b37df06b5aa0a5792f9752 to your computer and use it in GitHub Desktop.
ps-tools

show pid namespace all threads of process 21503

ps axH -opid,ppid,pidns -p 21503

list namespace of process 21503

lsns -p 21503

list namespace inode of process 21503

ls -iL /proc/21503/ns/pid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment