protected long getSpecialStatsId() {
    try {
      int pid = getStatisticsManager().getPid();
      if (pid > 0) {
        return pid;
      }
    } catch (UncheckedPidUnavailableException ignored) {
      // ignore and fall through
    }
    return getSystemId();
  }
Returns the statistics manager using this sampler.
geode-core/src/main/java/org/apache/geode/internal/statistics/HostStatSampler.java