Statistics newProcess(OsStatisticsFactory osStatisticsFactory, long pid, String name) {
    Statistics statistics;
    statistics = osStatisticsFactory.createOsStatistics(LinuxProcessStats.getType(), name, pid,
        PROCESS_STAT_FLAG);
    // Note we don't call refreshProcess since we only want the manager to do that
    return statistics;
  }
Creates and returns a {@link Statistics} with the given pid and name. The resource's stats will
contain a snapshot of the current statistic values for the specified process.
geode-core/src/main/java/org/apache/geode/internal/statistics/OsStatisticsProvider.java