{"id":56860,"date":"2023-10-15T23:01:52","date_gmt":"2023-10-15T15:01:52","guid":{"rendered":"https:\/\/docs.pingcode.com\/?p=56860"},"modified":"2023-10-15T23:02:06","modified_gmt":"2023-10-15T15:02:06","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8linux%e8%bf%9b%e8%a1%8c%e7%bd%91%e7%bb%9c%e6%b5%8b%e8%af%95%e5%92%8c%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/56860.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Linux\u8fdb\u884c\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\">\n<p>\u4f7f\u7528Linux\u8fdb\u884c\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\u7684\u6b65\u9aa4\uff1a1. \u4ecb\u7ecd\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\uff1b2. \u9009\u62e9\u5408\u9002\u7684\u6d4b\u8bd5\u5de5\u5177\uff1b3. \u8fdb\u884c\u57fa\u672c\u7f51\u7edc\u6d4b\u8bd5\uff1b4. \u8bc4\u4f30\u7f51\u7edc\u6027\u80fd\uff1b5. \u521b\u5efa\u7f51\u7edc\u62d3\u6251\uff1b6. \u8fdb\u884c\u538b\u529b\u6d4b\u8bd5\u7b49\u3002\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\u662f\u7f51\u7edc\u7ba1\u7406\u548c\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u7684\u5173\u952e\u7ec4\u6210\u90e8\u5206\u3002<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">1. \u4ecb\u7ecd\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5<\/h2>\n\n\n\n<p>\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\u662f\u7f51\u7edc\u7ba1\u7406\u548c\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u7684\u5173\u952e\u7ec4\u6210\u90e8\u5206\u3002\u7f51\u7edc\u6d4b\u8bd5\u6d89\u53ca\u9a8c\u8bc1\u7f51\u7edc\u8fde\u63a5\u3001\u5ef6\u8fdf\u3001\u541e\u5410\u91cf\u548c\u53ef\u7528\u6027\uff0c\u800c\u538b\u529b\u6d4b\u8bd5\u5219\u65e8\u5728\u8bc4\u4f30\u7cfb\u7edf\u5728\u8d1f\u8f7d\u4e0b\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u9009\u62e9\u5408\u9002\u7684\u6d4b\u8bd5\u5de5\u5177<\/h2>\n\n\n\n<p>Linux\u63d0\u4f9b\u4e86\u4f17\u591a\u5f3a\u5927\u7684\u7f51\u7edc\u6d4b\u8bd5\u5de5\u5177\uff0c\u5982ping\u3001netperf\u3001iperf\u3001tcpdump\u7b49\u3002\u6839\u636e\u60a8\u7684\u9700\u6c42\u9009\u62e9\u9002\u5f53\u7684\u5de5\u5177\uff0c\u4f8b\u5982\u4f7f\u7528ping\u6d4b\u8bd5\u8fde\u63a5\u7a33\u5b9a\u6027\uff0c\u4f7f\u7528iperf\u6d4b\u8bd5\u5e26\u5bbd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u8fdb\u884c\u57fa\u672c\u7f51\u7edc\u6d4b\u8bd5<\/h2>\n\n\n\n<p>\u4f7f\u7528ping\u547d\u4ee4\u6d4b\u8bd5\u76ee\u6807\u4e3b\u673a\u7684\u53ef\u8fbe\u6027\u548c\u5ef6\u8fdf\u3002\u4f8b\u5982\uff0c<code>ping google.com<\/code>\u5c06\u6d4b\u8bd5\u4e0eGoogle\u670d\u52a1\u5668\u7684\u8fde\u63a5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u8bc4\u4f30\u7f51\u7edc\u6027\u80fd<\/h2>\n\n\n\n<p>\u901a\u8fc7\u4f7f\u7528netperf\u6216iperf\u7b49\u5de5\u5177\uff0c\u53ef\u4ee5\u6d4b\u91cf\u7f51\u7edc\u7684\u541e\u5410\u91cf\u548c\u6027\u80fd\u3002\u8fd9\u5bf9\u4e8e\u4e86\u89e3\u7f51\u7edc\u8fde\u63a5\u7684\u80fd\u529b\u975e\u5e38\u6709\u7528\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. \u521b\u5efa\u7f51\u7edc\u62d3\u6251<\/h2>\n\n\n\n<p>\u5728\u8fdb\u884c\u66f4\u590d\u6742\u7684\u7f51\u7edc\u6d4b\u8bd5\u65f6\uff0c\u5efa\u7acb\u6a21\u62df\u7f51\u7edc\u62d3\u6251\u53ef\u4ee5\u6a21\u62df\u771f\u5b9e\u73af\u5883\u4e2d\u7684\u7f51\u7edc\u3002\u4f7f\u7528\u5de5\u5177\u5982Mininet\u6765\u521b\u5efa\u865a\u62df\u7f51\u7edc\u62d3\u6251\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. \u8fdb\u884c\u538b\u529b\u6d4b\u8bd5<\/h2>\n\n\n\n<p>\u4f7f\u7528\u5de5\u5177\u5982Apache Benchmark (ab)\u6765\u6267\u884c\u538b\u529b\u6d4b\u8bd5\u3002\u8fd9\u6709\u52a9\u4e8e\u786e\u5b9a\u670d\u52a1\u5668\u5728\u9ad8\u8d1f\u8f7d\u4e0b\u7684\u6027\u80fd\u8868\u73b0\uff0c\u8bc6\u522b\u6027\u80fd\u74f6\u9888\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">7. \u76d1\u63a7\u548c\u5206\u6790\u6d4b\u8bd5\u7ed3\u679c<\/h2>\n\n\n\n<p>\u5728\u8fdb\u884c\u6d4b\u8bd5\u65f6\uff0c\u4f7f\u7528\u5de5\u5177\u5982Wireshark\u548ctcpdump\u6765\u76d1\u89c6\u6d41\u91cf\u5e76\u8fdb\u884c\u5206\u6790\u3002\u8fd9\u6709\u52a9\u4e8e\u68c0\u6d4b\u95ee\u9898\u548c\u4f18\u5316\u6027\u80fd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">8. \u91cd\u590d\u6d4b\u8bd5<\/h2>\n\n\n\n<p>\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\u901a\u5e38\u9700\u8981\u591a\u6b21\u8fd0\u884c\u4ee5\u83b7\u53d6\u51c6\u786e\u7684\u7ed3\u679c\u3002\u786e\u4fdd\u8fdb\u884c\u591a\u8f6e\u6d4b\u8bd5\uff0c\u8bb0\u5f55\u7ed3\u679c\u5e76\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">9. \u4f18\u5316\u548c\u6539\u8fdb<\/h2>\n\n\n\n<p>\u6839\u636e\u6d4b\u8bd5\u7ed3\u679c\uff0c\u5bf9\u7f51\u7edc\u6216\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u5fc5\u8981\u7684\u4f18\u5316\u548c\u6539\u8fdb\u3002\u8fd9\u6709\u52a9\u4e8e\u63d0\u9ad8\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">10. \u7ed3\u8bba<\/h2>\n\n\n\n<p>\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\u662f\u786e\u4fdd\u7f51\u7edc\u6027\u80fd\u7684\u91cd\u8981\u6b65\u9aa4\u3002\u4f7f\u7528Linux\u63d0\u4f9b\u7684\u5de5\u5177\u548c\u6280\u672f\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u8fdb\u884c\u6d4b\u8bd5\u5e76\u4e0d\u65ad\u4f18\u5316\u7f51\u7edc\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1280\" height=\"850\" data-id=\"56866\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/10\/5-2.png?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\" class=\"wp-image-56866\" srcset=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/10\/5-2.png 1280w, https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/10\/5-2-768x510.png 768w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><strong>\u5e38\u89c1\u95ee\u7b54\uff1a<\/strong><\/p>\n\n\n\n<ul>\n<li>\u95ee\uff1a\u4ec0\u4e48\u662fLinux\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\uff1f<\/li>\n\n\n\n<li>\u7b54\uff1aLinux\u7f51\u7edc\u6d4b\u8bd5\u662f\u8bc4\u4f30\u7f51\u7edc\u6027\u80fd\u7684\u8fc7\u7a0b\uff0c\u5305\u62ec\u53ef\u8fbe\u6027\u3001\u5ef6\u8fdf\u3001\u541e\u5410\u91cf\u7b49\u3002\u800cLinux\u538b\u529b\u6d4b\u8bd5\u662f\u7528\u4e8e\u8bc4\u4f30\u7cfb\u7edf\u6027\u80fd\u548c\u7a33\u5b9a\u6027\u7684\u6d4b\u8bd5\uff0c\u901a\u5e38\u901a\u8fc7\u6a21\u62df\u9ad8\u8d1f\u8f7d\u60c5\u51b5\u6765\u6d4b\u8bd5\u7cfb\u7edf\u7684\u6781\u9650\u3002<\/li>\n<\/ul>\n\n\n\n<ul>\n<li>\u95ee\uff1a\u4e3a\u4ec0\u4e48\u6211\u9700\u8981\u8fdb\u884c\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\uff1f<\/li>\n\n\n\n<li>\u7b54\uff1a\u7f51\u7edc\u6d4b\u8bd5\u6709\u52a9\u4e8e\u786e\u4fdd\u60a8\u7684\u7f51\u7edc\u8fde\u63a5\u6b63\u5e38\u8fd0\u884c\uff0c\u8bc6\u522b\u6f5c\u5728\u95ee\u9898\uff0c\u5e76\u6539\u5584\u6027\u80fd\u3002\u538b\u529b\u6d4b\u8bd5\u5219\u53ef\u4ee5\u786e\u4fdd\u7cfb\u7edf\u5728\u9ad8\u8d1f\u8f7d\u4e0b\u4e0d\u4f1a\u5d29\u6e83\uff0c\u63d0\u9ad8\u7cfb\u7edf\u7684\u53ef\u9760\u6027\u548c\u6027\u80fd\u3002<\/li>\n<\/ul>\n\n\n\n<ul>\n<li>\u95ee\uff1a\u6709\u54ea\u4e9b\u5e38\u7528\u7684Linux\u5de5\u5177\u53ef\u7528\u4e8e\u7f51\u7edc\u6d4b\u8bd5\uff1f<\/li>\n\n\n\n<li>\u7b54\uff1a\u5e38\u7528\u7684Linux\u7f51\u7edc\u6d4b\u8bd5\u5de5\u5177\u5305\u62ecping\u3001netperf\u3001iperf\u3001tcpdump\u548cWireshark\u3002\u8fd9\u4e9b\u5de5\u5177\u7528\u4e8e\u6d4b\u91cf\u7f51\u7edc\u6027\u80fd\u548c\u5206\u6790\u8fde\u63a5\u95ee\u9898\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Linux\u8fdb\u884c\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\u7684\u6b65\u9aa4\uff1a1. \u4ecb\u7ecd\u7f51\u7edc\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5\uff1b2. \u9009\u62e9\u5408\u9002\u7684\u6d4b\u8bd5\u5de5\u5177\uff1b3. \u8fdb\u884c [&hellip;]","protected":false},"author":4,"featured_media":56867,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[2723,2724,384],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/56860"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=56860"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/56860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/56867"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=56860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=56860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=56860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}