Re: Cascading Failure of OSDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux