From 19ed1146e6de9e0df08fffb7c38d1bc673f44fae Mon Sep 17 00:00:00 2001
From: Erreur32
Original project: -http://www.gelogic.net/
-MOTDs32 is a fork of the excelent MOTDstat !
-Usage: generate dynamicaly the /etc/motd file with current information about system resources and usage
-Using crontab the script will periodically display status of system resources and services.
-The original message of the day is now stored in /etc/motd.orig file.
-Everytime you connect throught the SSH you will see some informations (customisable).
- - -git clone https://gitlab.echosystem.fr/Erreur32/MOTDs32.git
type inside the directory:
+ type inside the directory: + +```bash +$ ./install.sh +``` +Answer: y (install the package if needed) -./install.sh
-Answer: y (install the package needed)
- If you want some help, try this command: /usr/bin/motds32 or -motd
-
-motd
+
+motd
+
+```bash
+$ motd
Usage: motds32 OPTIONS
-g, --generate Check system status and generate it to /etc/motd file
-s, --status Show limited content of MOTD file
-v, --version Display information about motds32 version and author
-m, --MotD32 See the MOTD file
-
+```
You can see the result with :
+```bash
+$ cat /etc/motd
+```
-cat /etc/motd
-usr/bin/motds32 -c
-motd -m
git clone https://gitlab.echosystem.fr/Erreur32/MOTDs32.git
-cd MOTDs32
-./uninstall.sh
-git pull
-./install.sh
-
-
-## Stats Repo:
+```bash
+$ git clone https://gitlab.echosystem.fr/Erreur32/MOTDs32.git
+$ cd MOTDs32
+$ ./uninstall.sh
+$ git pull
+$ ./install.sh
+```
+
+Stats Repo:
+------
- https://echosystem.fr/MOTDs32
- https://echosystem.fr/MOTDs32/32.html
- https://echosystem.fr/MOTDs32/Stats/index.html
-00:03:47 19/07 @echosystem .../Stats-tools/MOTDs32 (master)# /usr/bin/motds32 -c
+Sample MOTD32 report
+------
+```bash
+$ /usr/bin/motds32 -c
+```
--------------------------------------------------
- motd -m
+```bash
+$ motd -m
Read motds32 file
echosystem.fr > status at 10:05 > 5min load is 0.82 on 8 cpu(s)
@@ -156,11 +163,12 @@ Local Users : 2 Processes: 282
----------- --- ------------ ----------
vendredi 21 juillet 2017, 10:05:39 (UTC+0200)
+```
-
Explanation of the report
--------------------------
+Explanation of the report
+-----
+```bash
system hostname report time system load
| | |
| NTP status | | Number of CPU(s)
@@ -168,19 +176,10 @@ Local Users : 2 Processes: 282
V V V V V
echosystem.fr+-+ > status at 00:03 > 5min load is 0.75 on 8 cpu(s)
-
-View on terminal screen the resultat:
-...
-
-🅴🆁🆁🅴🆄🆁32
-Hosted on
-🅴🅲🅷🔵🆂🆈🆂🆃🅴🅼
-