Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2007, 11:26 AM
Member
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0
satya007 is on a distinguished road
Default Swing program to display JVM information
Hi,

i want to write a swing application to display JVM information and resource information like heapsize,cpu utilization etc

can anybody help me by telling how to proceed as i am new to swings

Thanks!!!!!!
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 11-12-2007, 07:59 PM
Senior Member
 
Join Date: Jul 2007
Posts: 1,389
Rep Power: 3
hardwired is on a distinguished road
Default
In your javadocs distribution look in the guide/management folder for JConsole.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-13-2007, 05:33 AM
Member
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0
satya007 is on a distinguished road
Default
Thnks for your reply, jconsole will display all the information, but i want to write a standalone program to display jvm and resource utilization information, can you help me how i can proceed

Thanks!!!!
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 11-13-2007, 09:59 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,389
Rep Power: 3
hardwired is on a distinguished road
Default
Just some tidbits then:
Look at the MemoryMonitor class found in the
sdk1.5/demo/jfc/Java2D/src/java2d
folder of your sdk.
For cpu monitoring try:
Profiling CPU usage from within a Java application.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run Client program in Swing/AWT using Spring Framework Java Tip Spring Framework 0 04-02-2008 10:36 AM
code for making a java swing program a demo verson fakhruddin AWT / Swing 1 11-27-2007 08:54 PM
Display program nhlfan New To Java 2 11-22-2007 12:00 AM
My program doesnt display anything Bojevnik AWT / Swing 2 10-19-2007 02:50 PM
How to run Client program in Swing/AWT using Spring Framework JavaBean Java Tips 0 10-04-2007 09:20 PM


All times are GMT +2. The time now is 03:58 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org