patric-r/jvmtop

Explanation of values shown in the second para

mskadu opened this issue · 2 comments

Hello,

I was wondering if you could help me figure out an explanation for columns in the following lines displayed during the detailed / single VM monitoring mode?

 UP: 869:33m #THR: 106  #THRPEAK: 143  #THRCREATED: 128020 USER: webserver
 CPU:  4.55% GC:  3.25% HEAP: 137m / 227m NONHEAP:  75m / 304m

My guesses for each of those headings in caps. Would be great if you could confirm/ correct
UP -- ??
THR -- Number of Open Threads?
#THRPEAK -- Peak Number of Threads that were opened?
#THRCREATED -- ??
USER -- User the VM is executing as
CPU -- %CPU in use
GC -- Amount of memory freed/ GC-ed? Pending GC?
HEAP -- Amount of Heap memory / Max?
NONHEAP -- Amount of Heap Memory/ Max?

Thanks.

My best guesses based on the source

  • UP -- vmInfo_.getRuntimeMXBean().getUptime() How long the JVM has been running
  • THR -- vmInfo_.getThreadCount() current thread count
  • #THRPEAK -- vmInfo_.getThreadMXBean().getPeakThreadCount() Peak Thread Count (during the Up time of this JVM?)
  • #THRCREATED -- vmInfo_.getThreadMXBean().getTotalStartedThreadCount() Total Started Thread Count? (is this a cumulative figure of total threads started?)
  • USER -- OS User the VM is executing as
  • CPU -- %CPU in use
  • GC -- vmInfo_.getGcLoad() (still not clear)
  • HEAP -- vmInfo_.getHeapUsed() / vmInfo_.getHeapMax() (Heap Mem Used/ Max Heap Mem Used)
  • NONHEAP -- vmInfo_.getNonHeapUsed() / vmInfo_.getNonHeapMax() (non-Heap Mem Used/ non-Heap Mem Max)

Any chance you can provide info/ correct on the ones I missed above?

Thanks in advance.

I'm sorry for the delay.

Have you had a look at this wiki page?

If things are still unclear, please let me know, I'll try to improve the documentation.
Thank you.