{"id":212897,"date":"2021-03-22T10:18:57","date_gmt":"2021-03-22T02:18:57","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=212897"},"modified":"2021-03-15T08:27:42","modified_gmt":"2021-03-15T00:27:42","slug":"linux-server-skill","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-server-skill.html","title":{"rendered":"\u5e38\u7528\u7684Linux\u670d\u52a1\u5668\u5404\u9879\u6027\u80fd\u6307\u6807\u67e5\u770b\u65b9\u6cd5\uff01"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5206\u4eab\u5e38\u7528\u7684Linux\u670d\u52a1\u5668\u5404\u9879\u6027\u80fd\u6307\u6807\u67e5\u770b\u65b9\u6cd5<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u786c\u76d8\u67e5\u770b\u547d\u4ee4df<\/strong><\/div>\n

\u786c\u76d8\u67e5\u770b\u547d\u4ee4df\u6700\u5e38\u7528\u53c2\u6570\u662f-h\uff0c\u4ee5\u5bb9\u6613\u9605\u8bfb\u7684\u65b9\u5f0f\u663e\u793a\u78c1\u76d8\u5206\u533a\u4f7f\u7528\u60c5\u51b5\u3002<\/p>\n

df -h<\/pre>\n

\"\"<\/p>\n

df -h \/root\/#\u4ee5\u6613\u8bfb\u65b9\u5f0f\u663e\u793a\u76ee\u5f55\u6240\u5728\u5206\u533a\u7684\u4f7f\u7528\u60c5\u51b5<\/pre>\n

\"\"<\/p>\n

\u5176\u5b83\u5e38\u7528\u53c2\u6570\uff1a<\/p>\n

\u3000\u3000-a\uff1a\u663e\u793a\u6240\u6709\u6587\u4ef6\u7cfb\u7edf<\/p>\n

\u3000\u3000-B<\u5757\u5927\u5c0f>\uff1a\u6307\u5b9a\u663e\u793a\u65f6\u7684\u5757\u5927\u5c0f<\/p>\n

\u3000\u3000-H\uff1a\u4ee51000\u5b57\u8282\u4e3a\u6362\u7b97\u5355\u4f4d\u6765\u663e\u793a<\/p>\n

\u3000\u3000-i\uff1a\u663e\u793a\u7d22\u5f15\u5b57\u8282\u4fe1\u606f<\/p>\n

\u3000\u3000-k\uff1a\u53ea\u663e\u793a\u672c\u5730\u6587\u4ef6\u7cfb\u7edf<\/p>\n

\u3000\u3000-t<\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b>\uff1a\u53ea\u663e\u793a\u6307\u5b9a\u7c7b\u578b\u7684\u6587\u4ef6\u7cfb\u7edf<\/p>\n

\u3000\u3000-T\uff1a\u8f93\u51fa\u65f6\u663e\u793a\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<\/p>\n

\u3000\u3000--sync\uff1a\u5728\u53d6\u5f97\u78c1\u76d8\u4f7f\u7528\u4fe1\u606f\u524d\uff0c\u5148\u6267\u884csync\u547d\u4ee4<\/p>\n

\u3000\u3000\u5185\u5b58\u60c5\u51b5\u7684\u67e5\u8be2\u547d\u4ee4free\u5e38\u7528\u53c2\u6570\uff1a<\/p>\n

\u3000\u3000-b\uff1a\u4ee5Byte\u4e3a\u5355\u4f4d\u663e\u793a\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/p>\n

\u3000\u3000-k\uff1a\u4ee5kb\u4e3a\u5355\u4f4d\u663e\u793a\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/p>\n

\u3000\u3000-m\uff1a\u4ee5mb\u4e3a\u5355\u4f4d\u663e\u793a\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/p>\n

\u3000\u3000-g\uff1a\u4ee5gb\u4e3a\u5355\u4f4d\u663e\u793a\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/p>\n

\"\"<\/p>\n

-t\uff1a\u663e\u793a\u5185\u5b58\u4f7f\u7528\u603b\u548c<\/p>\n

\u67e5\u770bIO\u4f7f\u7528\u60c5\u51b5\u7684\u547d\u4ee4iostat<\/strong><\/div>\n

\u9700\u8981\u5b89\u88c5sysstat\u8f6f\u4ef6\u5305
\n\u53c2\u6570\uff1a<\/p>\n

\"\"<\/p>\n

-c:\u4ec5\u663e\u793acpu\u7684\u72b6\u6001<\/p>\n

\u3000\u3000-d:\u4ec5\u663e\u793a\u5b58\u50a8\u8bbe\u5907\u7684\u72b6\u6001\uff0c\u4e0d\u53ef\u4ee5\u548c-c\u4e00\u8d77\u4f7f\u7528<\/p>\n

\"\"<\/p>\n

-k:\u4ee5KB\u5927\u5c0f\u663e\u793a\u8bfb\u5165\u8bfb\u51fa\u7684block\u4fe1\u606f<\/p>\n

\"\"<\/p>\n

-t:\u663e\u793a\u65e5\u671f<\/p>\n

\"\"<\/p>\n

\u5b9e\u65f6\u663e\u793a\u8fdb\u7a0b\u52a8\u6001\u7684\u547d\u4ee4toptop<\/strong><\/div>\n

\u80fd\u591f\u5b9e\u65f6\u663e\u793a\u7cfb\u7edf\u4e2d\u5404\u4e2a\u8fdb\u7a0b\u7684\u8d44\u6e90\u5360\u7528\u72b6\u51b5<\/p>\n

\"\"<\/p>\n

-d\uff1a\u6539\u53d8\u663e\u793a\u7684\u66f4\u65b0\u901f\u5ea6<\/p>\n

\u3000\u3000-q\uff1a\u6ca1\u6709\u4efb\u4f55\u5ef6\u8fdf\u7684\u663e\u793a\u901f\u5ea6<\/p>\n

\u3000\u3000-n\uff1a\u66f4\u65b0\u7684\u6b21\u6570\uff0c\u5b8c\u6210\u540e\u5c31\u9000\u51fa<\/p>\n

\u67e5\u770b\u8fdb\u7a0b\u4fe1\u606f\u7684\u547d\u4ee4ps<\/strong><\/div>\n

\"\"<\/p>\n

\u67e5\u770b\u7aef\u53e3\u4f7f\u7528\u60c5\u51b5\u7684\u547d\u4ee4netstat<\/strong><\/div>\n

\"\"<\/p>\n

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

\u3000\u3000-a\uff1a\u663e\u793a\u6240\u6709\u8fde\u7ebf\u4e2d\u7684socket<\/p>\n

\u3000\u3000-p\uff1a\u663e\u793a\u6b63\u5728\u4f7f\u7528socket\u7684\u7a0b\u5e8f\u8bc6\u522b\u7801\u548c\u7a0b\u5e8f\u540d\u79f0<\/p>\n

\"\"<\/p>\n

-u\uff1a\u663e\u793audp\u4f20\u8f93\u534f\u8bae\u7684\u8fde\u7ebf\u72b6\u51b5<\/p>\n

\"\"
\n\"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

\u786c\u76d8\u67e5\u770b\u547d\u4ee4df\u6700\u5e38\u7528\u53c2\u6570\u662f-h\uff0c\u4ee5\u5bb9\u6613\u9605\u8bfb\u7684\u65b9\u5f0f\u663e\u793a\u78c1\u76d8\u5206\u533a\u4f7f\u7528\u60c5\u51b5\u3002 df -h df -h \/root\/ […]<\/p>\n","protected":false},"author":310,"featured_media":212920,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-212897","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/212897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=212897"}],"version-history":[{"count":12,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/212897\/revisions"}],"predecessor-version":[{"id":213108,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/212897\/revisions\/213108"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/212920"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=212897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=212897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=212897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}