[linux] How can I monitor the thread count of a process on linux?

If you're looking for thread count for multiple processes, the other answers won't work well for you, since you won't see the process names or PIDs, which makes them rather useless. Use this instead:

ps -o pid,nlwp,args -p <pid_1> <pid_2> ... <pid_N>

In order to watch the changes live, just add watch:

watch ps -o pid,nlwp,args -p <pid_1> <pid_2> ... <pid_N>