3. 搞玄学?看看进程切换
看看进程切换
$ vmstat 2
procs ------------memory------------ --swap-- -----io---- ---system---- ---cpu--
r b swpd free buff cache si so bi bo in cs us sy id
39 0 0 10823876 2415652 46400008 0 0 28828 3775 190521 308902 16 27 54
8 6 0 10856772 2415652 46400248 0 0 23784 2222 186975 310175 12 18 69
5 0 0 10876804 2415656 46400552 0 0 28852 3420 182219 295182 12 25 59
29 0 0 10845268 2415656 46401136 0 0 24908 3680 189906 308567 14 24 59
26 1 0 10891356 2415656 46401156 0 0 20640 4059 187160 309603 14 23 62
3 0 0 10946284 2415656 46401596 0 0 17920 3622 185902 309350 13 21 65
15 1 0 10894820 2415656 46402168 0 0 19968 4660 180810 302132 14 29 57
6 1 0 10922464 2415656 46402156 0 0 7680 1375 171290 297429 8 11 81与进程相关的API
Last updated
Was this helpful?