Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tool for monitoring threads in Linux

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a tool out there that will monitor the amount and state of Java threads executing on Linux (version 2.4.10-xfs).
Also what is the maximum # of threads that can be instantiated on a linux box?
 
Claude Moore
Ranch Hand
Posts: 832
7
IBM DB2 Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also what is the maximum # of threads that can be instantiated on a linux box?


I would say : "you can run as many threads as you want until you run out of resources". I can write a single thread that exhausts all JVM's available memory or create a huge bulk of thread that don't do nothing but looping forever and invoking Thread.sleep(1000) in their run method.
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!