{"id":8185,"date":"2020-07-18T21:19:07","date_gmt":"2020-07-18T13:19:07","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8185"},"modified":"2020-07-18T21:19:08","modified_gmt":"2020-07-18T13:19:08","slug":"lssubsys","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lssubsys","title":{"rendered":"lssubsys\u547d\u4ee4 – \u5217\u51fa\u5305\u542b\u6307\u5b9a\u5b50\u7cfb\u7edf\u7684\u5c42\u6b21\u7ed3\u6784"},"content":{"rendered":"\n

lssubsys\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5217\u51fa\u5305\u542b\u6307\u5b9a\u5b50\u7cfb\u7edf\u7684\u5c42\u6b21\u7ed3\u6784\u3002<\/p>\n\n\n\n

\u5982\u679c\u672a\u5b9a\u4e49\u5b50\u7cfb\u7edf\uff0c\u90a3\u4e48\u5c06\u663e\u793a\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5c42\u6b21\u7ed3\u6784\u3002\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u76f4\u63a5\u6267\u884clssubsys\u547d\u4ee4\u6548\u679c\u7b49\u540c\u4e8e\u5e26\u53c2\u6570-a\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-i<\/td>\u5982\u679c\u5b50\u7cfb\u7edf\u5904\u4e8e\u5c42\u6b21\u7ed3\u6784\uff0c\u5219\u663e\u793a\u8fde\u63a5\u7684\u5c42\u6b21\u6570<\/td><\/tr>
-m<\/td>\u663e\u793a\u6302\u8f7d\u70b9<\/td><\/tr>
-a<\/td>\u663e\u793a\u6240\u6709\u7684\u5b50\u7cfb\u7edf\uff08\u5305\u62ec\u6ca1\u6709\u6302\u8f7d\u7684\uff09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u67e5\u770b\u6240\u6709\u652f\u6301\u7684\u5b50\u7cfb\u7edf\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lssubsys -a<\/pre>\n\n\n\n

\u67e5\u770b\u6240\u6709\u5b50\u7cfb\u7edf\u6302\u8f7d\u70b9\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lssubsys -m<\/pre>\n\n\n\n

\u67e5\u770b\u5355\u4e2a\u5b50\u7cfb\u7edf\uff08\u5982memory\uff09\u6302\u8f7d\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lssubsys \u2013m memory\nmemory<\/pre>\n","protected":false},"excerpt":{"rendered":"

lssubsys\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5217\u51fa\u5305\u542b\u6307\u5b9a\u5b50\u7cfb\u7edf\u7684\u5c42\u6b21\u7ed3\u6784\u3002 \u5982\u679c\u672a\u5b9a\u4e49\u5b50\u7cfb\u7edf\uff0c\u90a3\u4e48\u5c06\u663e\u793a\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5c42\u6b21\u7ed3 […]<\/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\/8185"}],"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=8185"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8185\/revisions"}],"predecessor-version":[{"id":8191,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8185\/revisions\/8191"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}