cloudius-systems / mgmt

20 stars 11 forks source link

CLI jvm operation list is not ordered #41

Open tzach opened 10 years ago

tzach commented 10 years ago

jvm command return a list of operation i arbitrary order (see below). An alphabetic list will make more sense.

[/]% jvm
usage: jvm COMMAND [ARGS]

The most commonly used jvm commands are:
   classloading     show JVM classloding
   runtime          show JVM runtime
   compilation      show JVM compilation
   nonheap          Show JVM memory non heap
   propls           list the vm system properties
   propset          set a system property
   propget          get a system property
   proprm           remove a system property
   gcinfo           Show JVM garbage collection information
   gcrun            Run the garbage collection
   heap             Show JVM memory heap
   top              top for VM threads
   pools            List JVM memory pools
   system           show JVM operating system
   stop             stop vm threads
   interrupt        interrupt VM threads
   pool             show memory pool details
   free             Display amount of free and used memory of the JVM
   dump             dump vm threads
   ls               list vm threads
jaspal-dhillon commented 10 years ago

@lightpriest @penberg @tzach @tgrabiec This can easily be rectified by modifying printDetailsSection() in F ormat.java in the crash source. Do I send a patch to cloudius-systems/crash or the crashhub/crash ? ( because I see no activity in https://github.com/cloudius-systems/crash , last commit being on Aug 12,2013 ) It's not clear how to contribute to the crash shell used by OSv and how frequently is the jar updated online.