patric-r / jvmtop

Java monitoring for the command-line, profiler included
GNU General Public License v2.0
1.22k stars 252 forks source link

Cant run JVM top on Windows #81

Closed Veeradas closed 8 years ago

Veeradas commented 8 years ago

As mentioned in the installation guide downloaded jvmtop-0.8.0.tar.gz and extracted the local folder C:\Downloads\jvmtop-0.8.0 . Also setup the Java_home version JDK1.6.0_11. Then opened command prompt and navigated to the extracted JVMtop folder C:\Downloads\jvmtop-0.8.0 and executed the jvmtop.bat file and found following error.

C:\Downloads\jvmtop-0.8.0>jvmtop.bat 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

patric-r commented 8 years ago

Thank you for the report. Would you please try exchanging the jvmtop.bat file with the one in the git repository to see if this will fix your problem?

Veeradas commented 8 years ago

Thank for your response. It is keep on prompting following results. I think it supposed to show all the PID and their usage details

JvmTop 0.8.0 alpha - 10:27:28, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 20m 883m 10m 132m 0.74% 0.81% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:29, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 3m 883m 10m 132m 0.75% 0.00% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:30, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 5m 883m 10m 132m 1.11% 0.00% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:31, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 7m 883m 10m 132m 0.36% 0.00% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:32, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 9m 883m 10m 132m 0.75% 0.00% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:33, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 11m 883m 10m 132m 1.11% 0.00% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:34, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 13m 883m 10m 132m 0.37% 0.00% S6U11 veeradas 12

JvmTop 0.8.0 alpha - 10:27:36, amd64, 4 cpus, Windows Vista 6 http://code.google.com/p/jvmtop

PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL 6004 m.jvmtop.JvmTop 15m 883m 10m 132m 0.75% 0.00% S6U11 veeradas 12

Terminate batch job (Y/N)? y

C:\Downloads\jvmtop-0.8.0 >

patric-r commented 8 years ago

it seem to work now, that's the regular "overview mode". Only one more thing bothers me: Does it clear its screen after each update (like you can see it here ) does it print the lines after the previous ones so that the screen gets filled up or even scrolls?

Veeradas commented 8 years ago

it is working now