{"id":4842,"date":"2019-08-25T14:59:59","date_gmt":"2019-08-25T06:59:59","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4842"},"modified":"2019-08-31T00:05:01","modified_gmt":"2019-08-30T16:05:01","slug":"iptraf-ng","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/iptraf-ng","title":{"rendered":"iptraf-ng\u547d\u4ee4 – \u4ea4\u4e92\u5f0f\u5f69\u8272IP LAN\u76d1\u89c6\u5668"},"content":{"rendered":"\n

iptraf-ng\u547d\u4ee4\u662f\u4e00\u4e2a\u57fa\u4e8encurses\u7684IP LAN\u76d1\u89c6\u5668\uff0c\u53ef\u751f\u6210\u5404\u79cd\u7f51\u7edc\u7edf\u8ba1\u4fe1\u606f\uff0c\u5305\u62ecTCP\u4fe1\u606f\uff0cUDP\u8ba1\u6570\uff0cICMP\u548cOSPF\u4fe1\u606f\uff0c\u4ee5\u592a\u7f51\u8d1f\u8f7d\u4fe1\u606f\uff0c\u8282\u70b9\u7edf\u8ba1\u4fe1\u606f\uff0cIP\u6821\u9a8c\u548c\u9519\u8bef\u7b49\u7b49\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> iptraf-ng [\u53c2\u6570] [\u63a5\u53e3]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
--<\/strong>d
<\/td>
\u5141\u8bb8\u60a8\u7acb\u5373\u542f\u52a8\u6307\u5b9a\u63a5\u53e3\u4e0a\u7684\u8be6\u7ec6\u4fe1\u606f\uff08iface\uff09 <\/td><\/tr>
--<\/strong>z <\/td>\u663e\u793a\u6307\u5b9a\u63a5\u53e3\u4e0a\u7684\u6570\u636e\u5305\u8ba1\u6570\u5927\u5c0f <\/td><\/tr>
-i
<\/td>
\u7acb\u5373\u5728\u6307\u5b9a\u63a5\u53e3\u542f\u52a8IP\u6d41\u91cf\u76d1\u89c6\u5668\u3002\u5982\u679c\u6307\u5b9a\u4e86\u201c-i all\u201d\uff0c\u5219\u6240\u6709\u63a5\u53e3\u4e0a<\/td><\/tr>
--<\/strong>z <\/td>\u663e\u793a\u6307\u5b9a\u63a5\u53e3\u4e0a\u7684\u6570\u636e\u5305\u8ba1\u6570\u5927\u5c0f <\/td><\/tr>
-u
<\/td>
\u5141\u8bb8\u4f7f\u7528\u4e0d\u53d7\u652f\u6301\u7684\u63a5\u53e3\u4f5c\u4e3a\u4ee5\u592a\u7f51\u8bbe\u5907\u3002 \u5982\u679c\u66f4\u6539\u4e86\u63a5\u53e3\u7684\u540d\u79f0\uff0c\u5219\u9700\u8981\u8fd9\u6837\u505a <\/td><\/tr>
-g <\/td>\u7acb\u5373\u542f\u52a8\u5e38\u89c4\u63a5\u53e3\u7edf\u8ba1<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u7acb\u5373\u542f\u52a8\u6307\u5b9a\u63a5\u53e3\u4e0a\u7684\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# iptraf-ng -d eth5<\/pre>\n\n\n\n

\u663e\u793a\u6570\u636e\u5305\u8ba1\u6570\u5927\u5c0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# iptraf-ng -z eth5<\/pre>\n\n\n\n

\u7acb\u5373\u542f\u52a8\u5e38\u89c4\u63a5\u53e3\u7edf\u8ba1\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# iptraf-ng -g eth5<\/pre>\n","protected":false},"excerpt":{"rendered":"

iptraf-ng\u547d\u4ee4\u662f\u4e00\u4e2a\u57fa\u4e8encurses\u7684IP LAN\u76d1\u89c6\u5668\uff0c\u53ef\u751f\u6210\u5404\u79cd\u7f51\u7edc\u7edf\u8ba1\u4fe1\u606f\uff0c\u5305\u62ecTCP\u4fe1\u606f\uff0cU […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4842"}],"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=4842"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4842\/revisions"}],"predecessor-version":[{"id":4939,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4842\/revisions\/4939"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}