{"id":3784,"date":"2019-07-12T21:05:38","date_gmt":"2019-07-12T13:05:38","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3784"},"modified":"2019-07-12T21:05:40","modified_gmt":"2019-07-12T13:05:40","slug":"slabtop","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/slabtop","title":{"rendered":"slabtop\u547d\u4ee4 – \u5b9e\u65f6\u663e\u793a\u5185\u6838slab\u7f13\u51b2\u4fe1\u606f"},"content":{"rendered":"\n

slabtop\u547d\u4ee4\u7684\u547d\u4ee4\u662f\u4ee5\u5b9e\u65f6\u7684\u65b9\u5f0f\u663e\u793a\u5185\u6838\u201cslab\u201d\u7f13\u51b2\u533a\u7684\u7ec6\u8282\u4fe1\u606f\u3002<\/p>\n\n\n\n

linux\u5185\u6838\u9700\u8981\u4e3a\u4e34\u65f6\u5bf9\u8c61\u5982\u4efb\u52a1\u6216\u8005\u8bbe\u5907\u7ed3\u6784\u548c\u8282\u70b9\u5206\u914d\u5185\u5b58\uff0c\u7f13\u5b58\u5206\u914d\u5668\u7ba1\u7406\u7740\u8fd9\u4e9b\u7c7b\u578b\u5bf9\u8c61\u7684\u7f13\u5b58\u3002\u73b0\u4ee3linux\u5185\u6838\u90e8\u7f72\u4e86\u8be5\u7f13\u5b58\u5206\u914d\u5668\u4ee5\u6301\u6709\u7f13\u5b58\uff0c\u79f0\u4e4b\u4e3a\u7247\u3002\u4e0d\u540c\u7c7b\u578b\u7684\u7247\u7f13\u5b58\u7531\u7247\u5206\u914d\u5668\u7ef4\u62a4\u3002slabtop\u547d\u4ee4\u7684\u4f5c\u7528\u5c31\u662f\u663e\u793a\u5b9e\u65f6\u5185\u6838\u7247\u7f13\u5b58\u4fe1\u606f\u3002<\/p>\n\n\n\n

slabtop\u547d\u4ee4\u4ec5\u53ef\u4ee5\u7528\u4e8e\u5728\u7248\u672c\u9ad8\u4e8e2.4\u7684linux\u5185\u6838\u4e2d\u3002\u4f7f\u7528\u8be5\u547d\u4ee4\u8981\u6709root\u6743\u9650\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>slabtop [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-d<\/td>\u6bcfn\u79d2\u66f4\u65b0\u4e00\u6b21\u663e\u793a\u7684\u4fe1\u606f\uff0c\u9ed8\u8ba4\u662f\u6bcf3\u79d2<\/td><\/tr>
-s<\/td>\u6307\u5b9a\u6392\u5e8f\u6807\u51c6\u8fdb\u884c\u6392\u5e8f<\/td><\/tr>
-o<\/td>\u663e\u793a\u4e00\u6b21\u540e\u9000\u51fa<\/td><\/tr>
-V<\/td>\u663e\u793a\u7248\u672c<\/td><\/tr>
-- -help<\/td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u5185\u6838slab\u7f13\u5b58\u533a\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# slabtop<\/pre>\n\n\n\n

\u6bcf\u9694\u5341\u79d2\u949f\u5237\u65b0\u663e\u793aslab\u7f13\u51b2\u533a\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# slabtop -d 10<\/pre>\n\n\n\n

\u4ec5\u8f93\u51fa\u4e00\u6b21\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# slabtop -o<\/pre>\n","protected":false},"excerpt":{"rendered":"

slabtop\u547d\u4ee4\u7684\u547d\u4ee4\u662f\u4ee5\u5b9e\u65f6\u7684\u65b9\u5f0f\u663e\u793a\u5185\u6838\u201cslab\u201d\u7f13\u51b2\u533a\u7684\u7ec6\u8282\u4fe1\u606f\u3002 linux\u5185\u6838\u9700\u8981\u4e3a\u4e34\u65f6\u5bf9\u8c61\u5982\u4efb […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3784"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3784"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3784\/revisions"}],"predecessor-version":[{"id":3803,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3784\/revisions\/3803"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}