摘要:
http://hi.baidu.com/lionpanther/item/e908c37abdaf1c3f71442380#include #include #include struct occupy { char name[20]; unsigned int user; unsigned int nice; unsigned int system; unsigned int idle; };float g_cpu_used; int cpu_num; void cal_occupy(struct occupy *, struct occupy *);void get_occupy(str. 阅读全文