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