Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
25
rated 0 times [  25] [ 0]  / answers: 1 / hits: 50098  / 3 Years ago, fri, june 4, 2021, 12:38:44

I need this information to optimize the number of worker threads my custom application is allocating.



For example, if I just use top on a single-threaded application on a two-core machine, the 100% CPU usage does not tell me if there is still unused capacity in the form of the other core!



What kind of monitoring tools can I use to detect the difference?


More From » cpu

 Answers
2

Use htop. It has many more features than top, including showing individual threads and individual CPU usage etc.



http://manpages.ubuntu.com/manpages/oneiric/man1/htop.1.html


[#41343] Saturday, June 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oneeme

Total Points: 340
Total Questions: 110
Total Answers: 133

Location: Ghana
Member since Fri, Oct 21, 2022
2 Years ago
;