| 主機參考:VPS測評參考推薦/專注分享VPS服務(wù)器優(yōu)惠信息!若您是商家可以在本站進行投稿,查看詳情!此外我們還提供軟文收錄、PayPal代付、廣告贊助等服務(wù),查看詳情! |
| 我們發(fā)布的部分優(yōu)惠活動文章可能存在時效性,購買時建議在本站搜索商家名稱可查看相關(guān)文章充分了解該商家!若非中文頁面可使用Edge瀏覽器同步翻譯!PayPal代付/收錄合作 |

Linux tcpdump后續(xù)步驟
目的:了解tcpdump數(shù)據(jù)處理的常見后續(xù)步驟。
步驟:
1.停止tcpdump
& lt代碼& gtctrl+C & lt;/code & gt;保存數(shù)據(jù)
另存為文本文件:
& lt代碼& gttcpdump-w filename . pcap & lt;/code & gt;另存為libpcap文件:
& lt代碼& gttcpdump-C filename . pcap & lt;/code & gt;流式傳輸?shù)轿募?
& lt代碼& gttcpdump-w-& gt;filename.pcap & lt/code & gt;3.讀取pcap文件
使用tcpdump:
& lt代碼& gttcpdump-r filename . pcap & lt;/code & gt;使用Wireshark:
打開Wireshark。單擊文件>打開。選擇要打開的pcap文件。分析數(shù)據(jù)
查看基本信息:
& lt代碼& gttcpdump-r filename . pcap-nn & lt;/code & gt;過濾數(shù)據(jù):
& lt代碼& gttcpdump -r filename.pcap '過濾器表達式' & lt/code & gt;統(tǒng)計信息:
& lt代碼& gttcpdump-r filename . pcap-c count & lt;/code & gt;排除故障
使用tcpdump -v查看詳細的輸出:
& lt代碼& gttcpdump-v-r filename . pcap & lt;/code & gt;檢查libcap過濾器語法:
& lt代碼& gttcpdump-F-r filename . pcap & lt;/code & gt;使用tshark分析數(shù)據(jù):
& lt代碼& gttshark-r filename . pcap & lt;/code & gt;
這幾篇文章你可能也喜歡:
- 如何在坡道環(huán)境中優(yōu)化數(shù)據(jù)庫(數(shù)據(jù)庫優(yōu)化方法)
- 如何解決動物園管理器延遲問題
- 如何備份和恢復(fù)Zookeeper數(shù)據(jù)(Zookeeper數(shù)據(jù)所在)
- 如何優(yōu)化Zookeeper內(nèi)存使用率(Zookeeper Zuul)
- 如何管理數(shù)據(jù)庫偵聽器(數(shù)據(jù)庫Binlog偵聽器)
本文由主機參考刊發(fā),轉(zhuǎn)載請注明:linux tcpdump之后該怎么辦 http://m.k2270.com/118393.html
主機參考

















評論前必須登錄!
注冊