0

i have several Tomcat 6,7,8 servers and i would like to run a PowerShell script to get me the Maximum memory pool size of its JAVA Jvm options, is there a way to get it ?

thanks.

Vagho
  • 117
  • 1
  • 15

1 Answers1

0

Take a look at jvmtop. It is a command line tool to fetch information from locally running JVM's.

If you have remote servers then you probably need to active JMX on the servers and write your own code. See Can jconsole data be retrieved from the command line?

Community
  • 1
  • 1
gfelisberto
  • 1,655
  • 11
  • 18
  • no other ways to interact with the java ? something like javaw.exe -XX:+PrintFlagsFinal | find "MaxHeapSize" but for the maximum memory pool – Vagho May 10 '16 at 10:16