Wednesday, July 30, 2008

Unix command to find thread count in a process

Ok... this is really stupid to put it here. But I need a quick reference, as I lose this tiny little command.

ps -eLf | grep "__process_name__"

Remember.... tiny command tiny "eLf" as in the little angles that will help you to find Threads. Elves are tiny and have a pointed.. long L.