public static File getTempDirectory() {
        return new File(System.getProperty("java.io.tmpdir"));
    }
referer https://github.com/alibaba/arthas/blob/master/common/src/main/java/com/taobao/arthas/common/FileUtils.java
cop/src/main/java/code/landgrey/copagent/utils/PathUtils.java