mirror of
https://github.com/garabik/grc.git
synced 2024-10-28 17:41:01 +01:00
c71b244b80
conf.uptime: Support decimal comma
17 lines
349 B
Plaintext
17 lines
349 B
Plaintext
# Regular Up
|
|
regexp=\sup(?: (\d+) days?,)? +(\d+ min|\d+:\d+)(?=,)
|
|
colours=green,bold green, bold green
|
|
-
|
|
# users
|
|
regexp=\b(\d+) users?
|
|
colours=yellow,bold yellow
|
|
-
|
|
# load average
|
|
regexp=load average: (\d+[\.,]\d+),\s(\d+[\.,]\d+),\s(\d+[\.,]\d+)
|
|
colours=default,bright_cyan,cyan,dark cyan
|
|
-
|
|
# W Command section
|
|
# Title
|
|
regexp=^USER.*$
|
|
colours=bold
|