如何同时在Isilon的所有网卡上抓取网络包?

命令行如下:


cd /ifs/data/Isilon_Support/

mkdir $(date +%m%d%Y)


isi_for_array 'for i in `ifconfig | grep -B2 ether | grep flags | cut -d: -f1` ; do tcpdump -i ${i} \

-s0 -w /ifs/data/Isilon_Support/$(date +%m%d%Y)/`hostname`.${i}_$(date +%m%d%Y_%H%M%S).pcap &; done'


#Wait until you think you have got the issue reproduced

isi_for_array 'killall tcpdump'


参考资料:

TROUBLESHOOT PERFORMANCE ISSUES ON YOUR ISILON CLUSTER

https://www.emc.com/collateral/TechnicalDocument/docu80766.pdf

posted on 2019-07-30 10:23  中道学友  阅读(254)  评论(0编辑  收藏  举报

导航

技术追求准确,态度积极向上