Hi, 01/04/2015 17:28, Quentin Hartman wrote: > Right now we're just scraping the output of ifconfig: > > ifconfig p2p1 | grep -e 'RX\|TX' | grep packets | awk '{print $3}' > > It clunky, but it works. I'm sure there's a cleaner way, but this was > expedient. > > QH Ok, thx for the information Quentin. Just in case it could be useful, I have noticed the -s option (on my Ubuntu) that offer an output probably easier to parse: # "column -t" is just to make it's nice for the human eyes. ifconfig -s | column -t Bye. -- François Lafont _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com