Linux - How to find thread count of a process on aix or linux server, Process thread count

How to find thread count of a process on aix or linux server

To monitor or view the thread count of a certain process on aix or Unix server use the below command.

Syntax to find process thread count
    ps -o thcount -p <process id>

Example to find the process count
  # ps -o thcount -p 2961 

Output:
   THCNT
     3
The total thread count of the process is 3.

The topic on Linux - How to find thread count of a process on aix or linux server is posted by - Ujual

Hope you have enjoyed, Linux - How to find thread count of a process on aix or linux serverThanks for your time

Tech Bluff