final MBeanCpuUsageReporter tmon = new MBeanCpuUsageReporter(mserver);
if (connInfo.getPID() != null) {
try {
long pid = connInfo.getPID();
PerfCounterGcCpuUsageMonitor pm = new PerfCounterGcCpuUsageMonitor(pid);
tmon.setGcCpuUsageMonitor(pm);
}
catch(Exception e) {
// ignore
}