class KPM::System

def get_command

def get_command
  command = 'java -XshowSettings:properties -version 2>&1'
  apache_tomcat_pid = get_apache_tomcat_pid
  if not apache_tomcat_pid.nil?
    command = "jcmd #{apache_tomcat_pid} VM.system_properties"
  end
  command
end