Results 1 to 4 of 4
  1. #1
    satya007 is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    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!!!!!!

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    In your javadocs distribution look in the guide/management folder for JConsole.

  3. #3
    satya007 is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    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!!!!

  4. #4
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    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.

Similar Threads

  1. Replies: 0
    Last Post: 04-02-2008, 11:36 AM
  2. code for making a java swing program a demo verson
    By fakhruddin in forum AWT / Swing
    Replies: 1
    Last Post: 11-27-2007, 09:54 PM
  3. Display program
    By nhlfan in forum New To Java
    Replies: 2
    Last Post: 11-22-2007, 01:00 AM
  4. My program doesnt display anything
    By Bojevnik in forum AWT / Swing
    Replies: 2
    Last Post: 10-19-2007, 03:50 PM
  5. Replies: 0
    Last Post: 10-04-2007, 10:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •