bash-color-grc/colourfiles/conf.ping

53 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-02-17 09:09:16 +01:00
# name
regexp=(?:[fF]rom|PING)\s(\S+)\s
colours=default,blue
2015-01-25 18:36:02 +01:00
=======
# ipv6 number
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
colours=magenta
=======
2017-02-17 09:09:16 +01:00
# ip number, optional port
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(\:[0-9]{1,5})?
colours=bright_blue
=======
2017-03-04 10:11:47 +01:00
# icmp_[sr]eq=#
regexp=icmp_[sr]eq=(\d+)
2016-06-19 01:18:18 +02:00
colours=default,yellow
=======
2015-01-25 18:36:02 +01:00
# time
2016-06-19 01:18:18 +02:00
regexp=([0-9\.]+)\s?ms
colours=default,green
2015-01-25 18:36:02 +01:00
=======
# DUP
regexp=DUP\!
colours=red
=======
2016-06-19 01:18:18 +02:00
# Destination Host Unreachable
regexp=Destination Host Unreachable
colours=red
2015-01-25 18:36:02 +01:00
=======
# unknown host
regexp=.+unknown\shost\s(.+)
colours=red,bold red
2016-06-19 01:18:18 +02:00
-
# statustics header
regexp=--- \S+ ping statistics ---
colours=bold
-
# last line min/avg/max/mdev
2017-02-09 14:34:06 +01:00
regexp=(min)/(avg)/(max)/(mdev)
2016-06-19 01:18:18 +02:00
colours=default,bright_yellow,bright_blue,bright_red,bright_magenta
-
# last line values
2017-02-09 14:34:06 +01:00
regexp=\=\s([0-9\.\ mus]+)\/([0-9\. mus]+)\/([0-9\. mus]+)\/([0-9\. mus]+)
2016-06-19 01:18:18 +02:00
colours=default,bright_yellow,bright_blue,bright_red,bright_magenta
2017-02-06 19:11:43 +01:00
-
# these are good for nping
regexp=SENT|RCVD
colours=red
2017-02-17 09:09:16 +01:00
-
# nping
regexp=unreachable
colours=red
2017-02-06 19:11:43 +01:00