mss / jvmtop

Automatically exported from code.google.com/p/jvmtop
0 stars 0 forks source link

An arugment along with --once to filter exact JVM Process name to query. #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

hi,

In order to Minimize CPU time and CPU % taken by jvmtop.sh to find and display 
all the JVM found, can we have an argument like

./jvmtop.sh --once  <jvm name>

eg:

./jvmtop.sh --once  org.jboss.Main

OUTPUT:-
JvmTop 0.7.1 alpha - 06:13:38,  amd64,  4 cpus, Linux 2.6.18-19, load avg 0.00
 http://code.google.com/p/jvmtop

  PID MAIN-CLASS      HPCUR HPMAX NHCUR NHMAX    CPU     GC    VM USERNAME   #T DL
11228 org.jboss.Main   549m 3993m   70m  304m  0.00%  0.00% S6U25 compiere   74 

This would limit what jvmtop search and query for. making less CPU usage and 
intensive.

Original issue reported on code.google.com by j...@sodexis.com on 13 Aug 2013 at 11:18

GoogleCodeExporter commented 9 years ago

Original comment by patric.r...@gmail.com on 13 Aug 2013 at 11:27