• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

Thread info

Please provide command which i execute in RHEL (Linux) for knowing the number of threads running under particular process.

top -H (will give some info, not sure what is it showing)

Please help
0
wasman
Asked:
wasman
  • 3
1 Solution
 
medveddCommented:
ps -elm|grep pid|grep -v grep |wc -l

where pid is process number
0
 
woolmilkporcCommented:
ps -lm -p PID | grep -v PID | wc -l
0
 
woolmilkporcCommented:
... to avoid a misunderstanding - the first "PID" means the PID you're searching for, the second "PID" actually means the string "PID" (to filter out the header line).
0
 
wasmanAuthor Commented:
Thank you Milk, sorry for late replay...i am sick for 2 weeks
0
 
woolmilkporcCommented:
Thx for the points 'man - hope you're well again!

wmp
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now