Jeremy Gardais
|
f0d3126c30
|
Add some tests to print process and socket informations.
|
2015-02-02 09:40:57 +01:00 |
Jeremy Gardais
|
b049232a9d
|
Dynmotd: rename the occur_num function into get_pattern_count
get_pattern_count: add a expected value and compare this one and the
number of occurrence to choose the color.
|
2015-01-28 17:47:55 +01:00 |
Jeremy Gardais
|
023c284f01
|
Dynmotd: Remove the awk command to get number of occurrence .. useless
with a regex for grep.
* A function return the number of occurrence with a color (green:=0;
* red:!=0).
|
2015-01-28 17:25:37 +01:00 |
Jeremy Gardais
|
2469487031
|
Dynmotd: add a find command to get the last auth.log file and print the
number of sudo and ssh auth failed.
|
2015-01-28 16:31:33 +01:00 |
Jeremy Gardais
|
f001d412de
|
Dynmotd: some fix (tabs instead of white spaces, $(cmd) instead of
`cmd`, ... )
|
2015-01-28 16:29:24 +01:00 |
Jeremy Gardais
|
58ad3f3232
|
Rewrite a dynmotd script in full sh.
|
2015-01-28 11:28:46 +01:00 |