1.获取网卡mac地址
[root@compute ~]# ip a | grep ther | awk -F " " 'NR==1{print $2}'
00:0c:29:c9:c2:da
2.查看pid占用磁盘读写情况
[root@compute ~]# pidstat -d 1
12:48:38 AM UID PID kB_rd/s kB_wr/s kB_ccwr/s Command
12:48:39 AM 160 8786 0.00 4.00 4.00 swift-container