[wellylug] fping and cut

Jamie Baddeley wellylug at vpc.co.nz
Tue Jun 22 21:45:27 NZST 2004


Hi,

I am trying to do something that would seem really simple, I want to use
'cut' to cut a fping response line. But it's refusing to behave. Can
anyone tell me why?

the command is:
munter:/home/viewpoint# fping -p 10 -c 5 -q www|cut -d "/" -f 5
www : xmt/rcv/%loss = 5/5/0%, min/avg/max = 11.2/17.4/24.7
munter:/home/viewpoint#

- which is the wrong response - I would expect
0%, min

clues?

jamie




More information about the wellylug mailing list