Show a list of processes sorted by number of threads

The following allows for the top 10 processes that are using the most threads. Threads are described by the NLWP (Number of Lightweight Processes) value.

watch -n 1 'ps -eo nlwp,pid,args --sort -nlwp | head'