获取机器的基本参数cat /proc/stat Note : This guide is applicable to Linux kernels 2.6.14 and above, which adds support for smaps, per-mapping data, including data on each mapping's rss usage. 分别是user,nice,system,idle,irq,iowait,irq,softirq.具体参数解释如下: user()表示自