    @Test
    public void testPS() throws InterruptedException {

        FullState fullState = processStateCalculator.getCurrentFullState(pid);
        System.out.println(fullState.cpuState.totalTime());
        System.out.println(fullState.cpuState.idleTime);
        System.out.println(ProcUtil.formatJiffies(fullState.cpuState.totalTime()));
        System.out.println(fullState.processState.totalTime());
        System.out.println(ProcUtil.formatJiffies(fullState.processState.totalTime()));
        for (Map.Entry<Integer, ThreadState> entry : fullState.threadInfo.entrySet()) {
            System.out.println("线程id: " + entry.getKey() + " : " + ProcUtil.formatJiffies(entry.getValue().totalTime()));
        }
    }