帮忙介绍下/proc/pid/stat
例如:
eureka:/proc/3105 # cat stat
3105 (xinetd) S 1 3105 3105 0 -1 8397120 2891 174904 39 44 1 3 111 82 15 0 1 0 3180 10997760 83 18446744073709551615 93824992231424 93824992385284 140735404291344 18446744073709551615 47683386152211 0 0 3674112 2143547135 0 0 0 17 0 0 0 1100
请帮忙介绍下各个数据(尽量吧)代表的意思。
想通过这些数据计算cpu使用率,是不是只要关注user mode jiffies 和kernel mode jiffies
如何计算?