{"id":655,"date":"2015-05-14T17:19:50","date_gmt":"2015-05-14T09:19:50","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=655"},"modified":"2016-07-16T15:02:11","modified_gmt":"2016-07-16T07:02:11","slug":"centos%e6%9f%a5%e7%9c%8b%e5%bd%93%e5%89%8dcpu%e5%8f%8a%e5%86%85%e5%ad%98%e4%bd%bf%e7%94%a8%e6%83%85%e5%86%b5%ef%bc%88%e4%bb%bb%e5%8a%a1%e7%ae%a1%e7%90%86%e5%99%a8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/centos\/2015\/05\/14\/171950655.html","title":{"rendered":"CentOS\u67e5\u770b\u5f53\u524dCPU\u53ca\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\uff08\u4efb\u52a1\u7ba1\u7406\u5668\uff09"},"content":{"rendered":"<p>Linux\u4e0b\u6ca1\u6709\u7c7b\u4f3cWindows\u7684\u53ef\u89c6\u5316\u7a97\u53e3\u6765\u67e5\u770b\u5f53\u524d\u8bbe\u5907\u786c\u4ef6\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\uff0c\u4f46\u901a\u8fc7\u547d\u4ee4\u884c\u4e00\u6837\u80fd\u591f\u4e86\u89e3\u5230\u6211\u4eec\u9700\u8981\u7684\u4fe1\u606f\uff0c\u4f7f\u7528top\u547d\u4ee4<\/p>\n<pre line=\"1\">[root@Crayfish ~]# top\ntop - 17:17:36 up 0 min,  1 user,  load average: 0.20, 0.07, 0.02\nTasks:  77 total,   1 running,  76 sleeping,   0 stopped,   0 zombie\nCpu(s):  3.0%us,  1.0%sy,  0.0%ni, 86.6%id,  9.4%wa,  0.0%hi,  0.0%si,  0.0%st\nMem:   1025760k total,   214488k used,   811272k free,    15084k buffers\nSwap:        0k total,        0k used,        0k free,    63416k cached\n\n  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                              \n1151 apache    20   0  331m  14m 3572 S  2.7  1.4   0:00.08 httpd                                 \n1025 mysql     20   0  497m  21m 4316 S  1.0  2.1   0:00.20 mysqld                                 \n  886 ntp       20   0 26368 1668 1188 S  0.3  0.2   0:00.01 ntpd                                   \n    1 root      20   0 19232 1504 1224 S  0.0  0.1   0:00.91 init                                   \n    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd                              \n    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration\/0                           \n    4 root      20   0     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd\/0                           \n    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration\/0                           \n    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog\/0                             \n    7 root      20   0     0    0    0 S  0.0  0.0   0:00.00 events\/0                              \n    8 root      20   0     0    0    0 S  0.0  0.0   0:00.00 cgroup                                 \n    9 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper                                \n   10 root      20   0     0    0    0 S  0.0  0.0   0:00.00 netns                                 \n   11 root      20   0     0    0    0 S  0.0  0.0   0:00.00 async\/mgr                              \n   12 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pm                                    \n   13 root      20   0     0    0    0 S  0.0  0.0   0:00.00 xenwatch                              \n   14 root      20   0     0    0    0 S  0.0  0.0   0:00.00 xenbus                                 \n   15 root      20   0     0    0    0 S  0.0  0.0   0:00.00 sync_supers                           \n   16 root      20   0     0    0    0 S  0.0  0.0   0:00.00 bdi-default                           \n   17 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kintegrityd\/0                          \n   18 root      20   0     0    0    0 S  0.0  0.0   0:00.03 kblockd\/0                              \n   19 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kacpid                                 \n   20 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify    <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u4e0b\u6ca1\u6709\u7c7b\u4f3cWindows\u7684\u53ef\u89c6\u5316\u7a97\u53e3\u6765\u67e5\u770b\u5f53\u524d\u8bbe\u5907\u786c\u4ef6\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\uff0c\u4f46\u901a\u8fc7\u547d\u4ee4\u884c\u4e00\u6837\u80fd\u591f\u4e86\u89e3\u5230\u6211\u4eec\u9700\u8981\u7684\u4fe1\u606f\uff0c\u4f7f\u7528top\u547d\u4ee4 [root@Crayfish ~]# top top &#8211; 17:17:36 up 0 min, 1 user, load average: 0.20, 0.07, 0.02 Tasks: 77 total, 1 running, 76 sleeping, 0 stopped, 0 zombie Cpu(s): 3.0%us, 1.0%sy, 0.0%ni, 86.6%id, 9.4%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1025760k total, 214488k used, 811272k free, 15084k buffers Swap: 0k total, 0k used, 0k free, 63416k cached [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[8],"class_list":["post-655","post","type-post","status-publish","format-standard","hentry","category-centos","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}