如何同时在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

原文地址:https://www.cnblogs.com/awpatp/p/11268382.html