2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-15 14:48:26 +01:00
bash-color-grc/conf.df

45 lines
620 B
Text
Raw Normal View History

2015-01-25 18:36:02 +01:00
# FS
2016-06-19 01:18:18 +02:00
#regexp=^.*?\s
2015-10-07 11:04:48 +02:00
regexp=^(?!Filesystem).*?\s
2015-01-25 18:36:02 +01:00
colours=green
======
# Size 'K'
regexp=\s\d*[.,]?\dKi?\s
2015-01-25 18:36:02 +01:00
colours=green
======
# Size 'M'
regexp=\s\d*[.,]?\dMi?\s
2015-01-25 18:36:02 +01:00
colours=yellow
======
# Size 'G'
regexp=\s\d*[.,]?\dGi?\s
2015-01-25 18:36:02 +01:00
colours=red
======
# Size 'T'
regexp=\s\d*[.,]?\dTi?\s
2015-01-25 18:36:02 +01:00
colours=bold red
======
# Mounted on
2015-10-07 11:04:48 +02:00
regexp=/[-\w\d./]*$
2015-01-25 18:36:02 +01:00
colours=bold green
======
# Use 0-60%
regexp=[1-6][0-9]?%|0%
colours=green
======
# Use 70-90%
regexp=[7-9][0-9]%
colours=yellow
======
# Use 90-95
regexp=[9][0-5]%
colours=red
======
# Use 95-100
regexp=[9][5-9]%|100%
colours=bold red
2016-06-19 01:18:18 +02:00
# tmpfs lines
regexp=^tmpfs.*
colours=bright_black