Skip to content

Instantly share code, notes, and snippets.

@jay-lannister
Created November 5, 2014 11:38
Show Gist options
  • Save jay-lannister/54178b06fa6e0b01b5f9 to your computer and use it in GitHub Desktop.
Save jay-lannister/54178b06fa6e0b01b5f9 to your computer and use it in GitHub Desktop.
Active thread count of a process (jvm) on linux?
ps huH p <PID_OF_U_PROCESS> | wc -l
# nlwp = number of lightweight process
ps -o nlwp <PID_OF_U_PROCESS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment