Using following command we can get the thread count of a process in Linux, using PID of the process.
ps -o thcoung -p <PID>
If we need some more detail like process type, pid, user under which the process is running we can use following command :
ps -o user,comm,pid,thcount -p <PID>
ps -o thcoung -p <PID>
If we need some more detail like process type, pid, user under which the process is running we can use following command :
ps -o user,comm,pid,thcount -p <PID>
No comments:
Post a Comment
Thank you for Commenting Will reply soon ......