### Question:
ProcFSUtils { public static ProcPidStat stat(int pid) throws IOException { String statLine = OSUtils.exec(new String[]{"cat", "/proc/" + pid + "/stat"}); return parseProcPidStat(statLine); }  static boolean isAvailable(); static int[] getChildrenPids(int rootPid); static ProcPidStat stat(int pid); static ProcPidStat[] stat(int[] pids); static ProcStat stat(); static ProcPidIO io(int pid); static ProcPidIO[] io(int[] pids); static ProcNetIO netio(); static ProcSmaps[] smaps(int[] pids); static ProcSmaps[] smaps(int pid); static final String READ_ONLY_WITH_SHARED_PERMISSION; static final String READ_EXECUTE_WITH_SHARED_PERMISSION; }### Answer:
@Test public void stat() throws Exception { if (!ProcFSUtils.isAvailable()) return; ProcFSUtils.stat(); }