Listing # of active threads of a Linux process

Handy tip – to list the number of threads of a multi-threaded process, just enter

ps -o nlwp <pid>

Just learned that tonight! It helps

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.