allwmh / jvmtop

Automatically exported from code.google.com/p/jvmtop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jvmtop detail mode output should group related info

GoogleCodeExporter opened this issue · comments

Enhancement.

For example: 
 - GC info is split on 2 lines
 - uptime and %CPU are on different lines
 - pid & user are far apart
 - system time & JVM up time are displayed differently
 - a mix of formats in the header makes parsing with awk or perl harder than needed


Probably first on my list would be to reorganize the output to make it more 
top-like and to ensure that things that are related to each other are near each 
other.

One possible suggestion for a reorg:
Instead of:

JvmTop 0.7.1 alpha - 04:04:18,  amd64,  1 cpus, Linux 2.6.32-35, load avg 0.00
 http://code.google.com/p/jvmtop

 PID 3944: /home/jboss/jboss-as-7.1.1.Final/jboss-modules.jar
 ARGS: -mp /home/jboss/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.[...]
 VMARGS: -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms[...]
 VM: Oracle Corporation OpenJDK 64-Bit Server VM 1.7.0_25
 UP: 13:14m  #THR: 34   #THRPEAK: 76   #THRCREATED: 192  USER: jboss
 GC-Time:  0: 0m   #GC-Runs: 505       #TotalLoadedClasses: 7179
 CPU:  0.40% GC:  0.00% HEAP:  46m / 494m NONHEAP:  50m / 352m

How about:

JvmTop 0.7.1 alpha - 04:04:18, load average: 0.00, 0.00, 0.00
Process: jboss,   3944,   /home/jboss/jboss-as-7.1.1.Final/jboss-modules.jar
Args: -mp /home/jboss/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.[...]
VMArgs: -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms[...]
VM: Oracle Corporation OpenJDK 64-Bit Server VM 1.7.0_25
Cpu:          13:14,    0.40%
Threads:    34 active,    76 peak,    192 created
GC:            00:00 time,    0.00%,    505 runs,   7179 classes
Heap:         494m total,      44m used,    450m free
Non-heap: 352m total,      50m used,    302m free


Original issue reported on code.google.com by DaveParillo on 9 Aug 2013 at 11:29

Good point, thanks!
I'll think about it and consider your suggestion - stay tuned.

Original comment by patric.r...@gmail.com on 9 Aug 2013 at 4:04

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect