aspose file tools*
The moose likes Threads and Synchronization and the fly likes Count no. of Thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Count no. of Thread" Watch "Count no. of Thread" New topic
Author

Count no. of Thread

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi,
How can we know that how many threads running in a programme.


Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
Look into the java.lang.ThreadGroup documentation.

Bill
AjayKumar Panigrahi
Greenhorn

Joined: Nov 21, 2009
Posts: 21
Hey Pankaj..

Check java.lang.ThreadGroup

and locate methods those start with act.... You will get the solution


Ajay Kumar, SCJP5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41867
    
  63
http://faq.javaranch.com/java/ThreadLister should be of interest.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Count no. of Thread