code: public static void premain(String agentArgs, Instrumentation inst) {
          System.out.println(STARTUP_NOTICE) ;
          JMXetricAgent a = null ;
          try {
              a = new JMXetricAgent();
              XMLConfigurationService.configure(a, agentArgs);
              a.start();
          } catch ( Exception ex ) {
              // log.severe("Exception starting JMXetricAgent");
              ex.printStackTrace();
          }
      }
docs: The JVM agent entry point
  @param agentArgs
  @param inst