2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
Commit Graph

68 Commits

Author SHA1 Message Date
Vitaliy Perekhovy
ae9cecb66c IPv6 address conists of hexadecimal digits, so "\d" is unsuitable here. 2021-06-11 14:51:07 +03:00
Radovan Garabík
2fc38520fc dummy configuration file 2020-12-29 16:14:33 +01:00
Radovan Garabík
61c070db25
Merge pull request #170 from Raizo62/p_log_ip_port
conf.log : the port of "172.16.1.100:56364" is now fully colored
2020-12-28 16:51:01 +01:00
Raizo62
4cdaaceb3e conf.log : the port of "172.16.1.100:56364" is now fully colored 2020-12-12 12:50:25 +01:00
Raizo62
ec1eab4f64 conf.log : accept now empty string "" and empty parentheses () 2020-12-06 12:05:32 +01:00
Radovan Garabík
70f4178f37
Merge pull request #164 from junkdog/patch-1
docker ps: ip addresses and ports colorization
2020-11-26 10:21:49 +01:00
Adrian Papari
5ee2461214
Update conf.dockerps 2020-11-24 23:39:52 +01:00
Adrian Papari
5fefb0602f
fix ip addresses and ports colorization 2020-11-24 23:34:41 +01:00
Andrei Buzoianu
499fdbff0e
add sockstat colors config file 2020-10-13 17:06:20 +03:00
Radovan Garabík
8263f4f63b
Merge pull request #156 from wwalker/155
Support for FQDNs, and add the journalctl alias to the grc.bash and grc.fish
2020-07-19 13:56:43 +02:00
Radovan Garabík
8c2a0ace74
Merge pull request #131 from Raizo62/devel
grc.conf : command ip and traceroute :
2020-07-19 13:53:49 +02:00
Radovan Garabík
892c6f6671
Merge pull request #154 from jnovack/patch-7
Create conf.curl
2020-07-01 17:32:41 +02:00
Radovan Garabík
023c88b37b
Merge pull request #153 from jnovack/patch-6
Add support for `go test`
2020-07-01 17:31:35 +02:00
Radovan Garabík
fb14b1a0a0
Merge pull request #151 from jnovack/patch-1
Update conf.dockerps
2020-07-01 17:30:37 +02:00
Wayne Walker
0c615d2904 Support for FQDNs, and add the journalctl alias to the grc.bash and grc.zsh 2020-06-27 13:47:03 -05:00
Justin J. Novack
f2ec76166e
Create conf.curl 2020-06-10 09:54:56 -04:00
Justin J. Novack
92e48627f8
Create conf.go-test 2020-06-10 08:15:43 -04:00
Justin J. Novack
448f19652a
Update conf.dockerps
Correct statuses to call out starting and unhealthy containers
2020-06-09 17:48:11 -04:00
Radovan Garabík
7d04c05cd0 fix df 2020-06-02 21:12:13 +02:00
Radovan Garabík
3101bb9eb3
Merge pull request #145 from darkain/patch-df
Fixing/extending df command
2020-06-02 20:34:17 +02:00
Radovan Garabík
c910742ee6
Merge pull request #143 from darkain/patch-2
interfaces can have dots in their names
2020-05-24 20:05:26 +02:00
Radovan Garabík
23c1802b4a
Merge pull request #140 from darkain/patch-1
Fixing du colorization
2020-05-24 19:59:14 +02:00
Raizo62
6006304f28 conf.traceroute : - replace \b by \s (see the example below)
- good regular expression for warning messages (letters from : https://linux.die.net/man/8/traceroute)
	- remove the example with the command mail (which report with traceroute ?)

traceroute to 30.0.0.4 (30.0.0.4), 30 hops max, 60 byte packets
 1  10.0.0.2 (10.0.0.2)  0.648 ms  0.479 ms  0.426 ms
 2  23.0.0.3 (23.0.0.3)  1.983 ms  2.402 ms  2.509 ms
 3  23.0.0.3 (23.0.0.3)  3058.805 ms !H  3059.171 ms !H  3058.985 ms !H
2020-03-08 10:51:19 +01:00
Vincent Milum Jr
f6788db3e1
Fixing/extending df command
Fixing some percentages not detecting properly.
Extending support so "df" has colors just like "df -h"
2020-02-03 13:53:44 -08:00
Vincent Milum Jr
0a8a163c03
interfaces can have dots in their names 2020-01-29 05:47:28 +00:00
Vincent Milum Jr
43092396e8
Fixing du colorization
1) du without -h is now supported.
2) du -h can output a 2-digit file size, eg " 25MB", and will have a space character for padding, and this is now accounted for.
2020-01-08 14:02:08 -08:00
Luis Davim
e83a11599c
Update conf.kubectl 2019-07-24 12:25:00 +01:00
Luis Davim
074fe6e3b1
small improvements
Improve compatibility with `kubrectl describe` and added a few more "red words"
2019-07-24 10:04:31 +01:00
Radovan Garabík
c414dfd3b4 merge kubectl from luidavim 2019-07-24 10:26:44 +02:00
Radovan Garabík
c71b244b80
Merge pull request #121 from richarson/richarson-conf.uptime
conf.uptime: Support decimal comma
2019-07-24 08:28:15 +02:00
Ricardo J. Barberis
ee07d1bd15
conf.uptime: Support decimal comma
So load averages also are colourised when e.g. LANG=es_ES
2019-04-25 19:57:24 -03:00
Radovan Garabík
b11c36fcba iwconfig quality/level 2018-12-26 21:33:04 +01:00
raizo62
4a37b7fc7c iwconfig : Bit Rate can contain dots : Bit Rate=43.3 Mb/s 2018-12-26 12:35:31 +01:00
Radovan Garabík
f32d8a1432 conflict 2018-12-24 21:26:56 +01:00
Miha Frangež
2b98e0767d Add config for sensors command 2018-10-09 20:56:13 +02:00
Radovan Garabík
ae88b81759
Merge pull request #108 from erik-valdivieso/master
Fix packet loss percent with dot number
2018-09-26 16:42:52 +02:00
Radovan Garabík
c1cb9b8941
Merge pull request #107 from florianbeer/patch-1
Update logfile config
2018-09-26 16:40:11 +02:00
Radovan Garabík
04665c00b5
Merge pull request #106 from iax7/master
Add new conf files and fix existing
2018-09-26 16:38:26 +02:00
Radovan Garabík
5bc9f4e70f tune lspci 2018-09-26 16:28:45 +02:00
Radovan Garabík
047bcc6c7a
Merge pull request #86 from kapsh/lspci
Tune lspci colors
2018-09-26 16:23:16 +02:00
Erik Valdivieso
f3f76ad382
Fix packet loss percent with dot number
Works with

0%
0.0%
100%
100.0%
2018-08-29 11:31:01 -05:00
Florian Beer
918df658c2
Update logfile config
This commit refines how logfiles are displayed, so it is more suitable for webserver and mailserver logs in addition to generic kernel messages:

* Add colorization of strings in double quotes
* Alter parsing of pathnames to also include common URL path components
* Mark IPv4 and IPv6 addresses
* Detect email addresses
* Detect HTTP verbs and common HTTP and mailserver status codes

I think it is rather nice to look at and easy to visually parse important parts of each log line. Since I've been using this config for a long time on my servers I thought I should give back and make it available to the public.

Merge if you feel like it, if not it is here to copy for anyone that wants to. Thanks @garabik for your awesome tool!
2018-08-24 11:07:13 +02:00
Isaias Pina
1d07328d38
Add kubectl and yaml conf file 2018-08-09 22:14:04 -05:00
Radovan Garabík
d64b7c6523
Merge pull request #92 from iax7/master
Fix color files
2018-07-01 14:59:23 +02:00
Tasnad Kernetzky
fc39736c78
Fixed conf.ss: Match all IPv6 addresses not only ::1 2018-06-06 11:24:53 +02:00
Tasnad Kernetzky
66efc0dc3a
Fix: brackets, address scope; match process name
Newer versions of ss have a slightly different output syntax: IPv6 addresses are put in brackets (like in URLs).
tcp   LISTEN  0       32                       [::1]:53              [::]:*   
Also, the addresses' scope may be in the output:
192.168.1.1%eth0:68           0.0.0.0:*   users:(("NetworkManager",pid=82,fd=6)) ino:661155 sk:272 <->

I had to move the "status" regex or it would overwrite IPv6 addresses.
2018-06-05 18:57:20 +02:00
Isaias Pina
e9fc71c699
Fix ipaddr, iproute and uptime colors 2018-05-14 15:53:27 -05:00
Isaias Pina
e88d90ff0a
Add common file to highlight words in green,red,yellow 2018-05-14 15:48:48 -05:00
Isaias Pina
4c8b5a799a
Fix dig coloring single chars 2018-05-14 14:44:44 -05:00
Alexander Kapshuna
9c4796ff65 Tune lspci colors 2018-05-03 16:58:44 +03:00