摘要: public static int getProcessCpuRate() { try { RandomAccessFile reader = new RandomAccessFile("/proc/stat", "r"); String load = reader.readLine(); Stri... 阅读全文
posted @ 2017-02-18 12:28 观海云不远 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.csdn.net/it_talk/article/details/50790813 阅读全文
posted @ 2017-02-18 08:35 观海云不远 阅读(87) 评论(0) 推荐(0) 编辑