2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/conf.iostat_sar
2016-06-18 18:18:18 -05:00

24 lines
558 B
Plaintext

# Devices
regexp=^[\w\d-]+\s{2,}(?!%)
colours=bright_green
-
# Averages Title
regexp=\s+(%user)\s+(%nice)\s+(%system)\s+(%iowait)\s+(%steal)\s+(%idle)
colours=default,blue,cyan,magenta,bright_magenta,red,green
-
# Averages Numbers
regexp=\s+(\d+\.\d+)\s+(\d+\.\d+)\s+(\d+\.\d+)\s+(\d+\.\d+)\s+(\d+\.\d+)\s+(\d+\.\d+)
colours=default,blue,cyan,magenta,bright_magenta,red,green
-
# Averages last line
regexp=^Average:.*$
colours=reverse
-
# High rates (4 digits)
regexp=\s\d{4}\.\d+
colours=red
-
# High rates (5+ digits)
regexp=\s\d{5,}\.\d+
colours=bold red