{"id":93831,"date":"2024-04-18T06:43:11","date_gmt":"2024-04-17T22:43:11","guid":{"rendered":"http:\/\/gulass.cn\/?p=93831"},"modified":"2024-04-18T06:43:11","modified_gmt":"2024-04-17T22:43:11","slug":"three-network-tools","status":"publish","type":"post","link":"https:\/\/gulass.cn\/three-network-tools.html","title":{"rendered":"\u4e09\u6b3e\u8f7b\u91cf\u7ea7Linux \u7f51\u7edc\u76d1\u89c6\u5de5\u5177"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u4f60\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e09\u4e2a Linux \u547d\u4ee4\u4e86\u89e3\u5f53\u524d\u7f51\u7edc\u7684\u5927\u91cf\u4fe1\u606f\u3002iftop \u901a\u8fc7\u8fdb\u7a0b\u53f7\u8ddf\u8e2a\u7f51\u7edc\u8fde\u63a5\uff0cnethogs \u5feb\u901f\u544a\u77e5\u4f60\u54ea\u4e9b\u8fdb\u7a0b\u5728\u5360\u7528\u4f60\u7684\u5e26\u5bbd\uff0c\u800c vnstat \u4ee5\u4e00\u4e2a\u826f\u597d\u7684\u8f7b\u91cf\u7ea7\u5b88\u62a4\u8fdb\u7a0b\u5728\u540e\u53f0\u8fd0\u884c\uff0c\u5e76\u5b9e\u65f6\u8bb0\u5f55\u4f60\u7684\u7f51\u7edc\u4f7f\u7528\u60c5\u51b5\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n iftop<\/strong><\/div>\n \u4ee4\u4eba\u79f0\u8d5e\u7684 iftop \u53ef\u4ee5\u76d1\u542c\u60a8\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\uff0c\u5e76\u4ee5 top \u7684\u6837\u5f0f\u5448\u73b0\u3002<\/p>\n \u8fd9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u5c0f\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u627e\u51fa\u7f51\u7edc\u62e5\u585e\uff0c\u6d4b\u901f\u548c\u7ef4\u6301\u7f51\u7edc\u6d41\u91cf\u603b\u91cf\u3002\u770b\u5230\u81ea\u5df1\u5230\u5e95\u5728\u7528\u591a\u5c11\u5e26\u5bbd\u5f80\u5f80\u662f\u975e\u5e38\u60ca\u4eba\u7684\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u6211\u4eec\u8fd9\u4e9b\u4ecd\u7136\u8bb0\u5f97\u7535\u8bdd\u7ebf\u8def\u3001\u8c03\u5236\u89e3\u8c03\u5668\uff0c\u201c\u9ad8\u901f\u201d\u5230\u4ee4\u4eba\u60ca\u53eb\u7684 kb \u548c\u5b9e\u65f6\u6ce2\u7279\u7387\u7684\u8001\u4eba\u4eec\u3002\u6211\u4eec\u5728\u5f88\u4e45\u4e4b\u524d\u5c31\u4e0d\u518d\u4f7f\u7528\u6ce2\u7279\u7387\uff0c\u8f6c\u800c\u949f\u60c5\u4e8e\u6bd4\u7279\u7387\u3002\u6ce2\u7279\u7387\u7528\u4e8e\u8861\u91cf\u4fe1\u53f7\u53d8\u5316\uff0c\u5c3d\u7ba1\u6709\u65f6\u5019\u4e0e\u6bd4\u7279\u7387\u76f8\u540c\uff0c\u4f46\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u5e76\u975e\u5982\u6b64\u3002<\/p>\n \u5982\u679c\u4f60\u53ea\u6709\u4e00\u4e2a\u7f51\u7edc\u63a5\u53e3\uff0c\u76f4\u63a5\u8fd0\u884c iftop \u5373\u53ef\u3002\u4e0d\u8fc7 iftop \u9700\u8981 root \u6743\u9650\uff1a<\/p>\n $ sudo iftop\r\n<\/pre>\n |