每2秒获取系统的赋值及内存使用率

每2秒获取系统的赋值及内存使用率
原文地址:https://www.cnblogs.com/ruiy/p/upload.html