public static JvmMetrics create(String processName, String sessionId, MetricsSystem ms) {
    return ms.register(JvmMetrics.name(), JvmMetrics.description(),
        new JvmMetrics(processName, sessionId));
  }
JVM and logging related metrics. Ported from Hadoop JvmMetrics.
Mostly used by various servers as a part of the metrics they export.
common/src/java/org/apache/hadoop/hive/common/JvmMetrics.java