Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2007, 01:26 PM
Member
 
Join Date: Nov 2007
Posts: 2
satya007 is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 11-12-2007, 09:59 PM
Senior Member
 
Join Date: Jul 2007
Posts: 1,266
hardwired is on a distinguished road
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, 07:33 AM
Member
 
Join Date: Nov 2007
Posts: 2
satya007 is on a distinguished road
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, 11:59 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,266
hardwired is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 12:36 PM
code for making a java swing program a demo verson fakhruddin AWT / Swing 1 11-27-2007 10:54 PM
Display program nhlfan New To Java 2 11-22-2007 02:00 AM
My program doesnt display anything Bojevnik AWT / Swing 2 10-19-2007 04:50 PM
How to run Client program in Swing/AWT using Spring Framework JavaBean Java Tips 0 10-04-2007 11:20 PM


All times are GMT +3. The time now is 03:42 PM.


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