From c85f6d52faafca6d0507adfc91a31787030a336a Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Wed, 19 Jul 2017 10:01:43 +0200 Subject: [PATCH] Update README.md --- README.md | 181 ++++++++++++++++++++++-------------------------------- 1 file changed, 72 insertions(+), 109 deletions(-) diff --git a/README.md b/README.md index ded2e69..31cf691 100644 --- a/README.md +++ b/README.md @@ -1,82 +1,64 @@ -[![coverage report](https://gitlab.echosystem.fr/Erreur32/MOTDs32/badges/master/coverage.svg)](https://gitlab.echosystem.fr/Erreur32/MOTDs32/commits/master) +

coverage report

+

(2017) New project MOTDs32 by Erreur32

+

https://gitlab.echosystem.fr/Erreur32/MOTDs32

+
,--.   ,--. ,-----. ,--------.,------.         ,----.  ,---.
+|   `.'   |'  .-.  ''--.  .--'|  .-.  \  ,---. '.-.  |'.-.  \
+|  |'.'|  ||  | |  |   |  |   |  |  \  :(  .-'   .' <  .-' .'
+|  |   |  |'  '-'  '   |  |   |  '--'  /.-'  `)/'-'  |/   '-.
+`--'   `--' `-----'    `--'   `-------' `----' `----' '-----'
 
-
-
- (2017) New project MOTDs32 by Erreur32
-
-   https://gitlab.echosystem.fr/Erreur32/MOTDs32
-
-    ,--.   ,--. ,-----. ,--------.,------.         ,----.  ,---.
-    |   `.'   |'  .-.  ''--.  .--'|  .-.  \  ,---. '.-.  |'.-.  \
-    |  |'.'|  ||  | |  |   |  |   |  |  \  :(  .-'   .' <  .-' .'
-    |  |   |  |'  '-'  '   |  |   |  '--'  /.-'  `)/'-'  |/   '-.
-    `--'   `--' `-----'    `--'   `-------' `----' `----' '-----'
-
-	          |  +	Stats32   |
-
-[toc] 
-
-## MOTDs32 Documentation:
- 
-
-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).
- 
- 
- [See  example](https://tools.echosystem.fr/Markdown-Tools/markdown-plus/#sample-motd32-report)
- 
----
-
-
-
- 
-## INSTALLATION: 
- 
- (git clone https://gitlab.echosystem.fr/Erreur32/MOTDs32.git)
- 
- type inside the directory: 
-       
-       ./Install.sh
- 
- ## UPDATE:
- ======
-
-    cd /PATH/MOTDs32
-    git pull
-
-
-
-## Customisation:
- 
-When you want MOTD to be displayed while logging via SSH client you will
-have to change setting on the SSH daemon as following: /etc/ssh/sshd_config
-
-	~snip~
-	PrintMotd yes
-	~snip~
-
-To apply the changes, restart the SSH server daemon.
-
-
-
-## Sample  MOTD32 report
-
-
-```
-00:03:47 19/07 root@echosystem .../Stats-tools/MOTDs32 (master)# /usr/bin/motds32 -c
+          |  +	Stats32   |

+

+

+

MOTDs32 Documentation:

+

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).

+

See example

+
+

INSTALLATION:

+

(git clone https://gitlab.echosystem.fr/Erreur32/MOTDs32.git)

+

type inside the directory:

+
./Install.sh

UPDATE:

+

======

+
cd /PATH/MOTDs32
+git pull

Customisation:

+

When you want MOTD to be displayed while logging via SSH client you will +have to change setting on the SSH daemon as following: /etc/ssh/sshd_config

+
~snip~
+PrintMotd yes
+~snip~

To apply the changes, restart the SSH server daemon.

+

Sample MOTD32 report

+
00:03:47 19/07 root@echosystem .../Stats-tools/MOTDs32 (master)# /usr/bin/motds32 -c
 
 motds32 check motd file
-        echosystem.fr  > status at 00:03 > 5min load is 0.75 on 8 cpu(s)
+        echosystem.fr  > status at 00:03 > 5min load is 0.75 on 8 cpu(s)
 
       Disk status        |      Memory status       |     Service status
 partition      free  usg | Memory      used kB  [%] | service(s)        (count)
@@ -100,7 +82,7 @@ partition      free  usg | Memory      used kB  [%] | service(s)        (count)
 |  __/ (__| | | | (_) \__ \ |_| \__ \ ||  __/ | | | | |_|  _| |
  \___|\___|_| |_|\___/|___/\__, |___/\__\___|_| |_| |_(_)_| |_|
                            |___/
-/bin/bash ==> root
+/bin/bash ==> root
 
  00:05:44 up 64 days,  5:35,  3 users,  load average: 1,18, 0,84, 0,70
 USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
@@ -118,14 +100,8 @@ Usage on /  :   68%     Swap usage:     0.0%
 Local Users :   3       Processes:      286
 -----------     ---     ------------    ----------
 
-  mercredi 19 juillet 2017, 00:05:44 (UTC+0200)
-```
-
-
-## Explanation of the report
-
-```
-Explanation of the report
+  mercredi 19 juillet 2017, 00:05:44 (UTC+0200)

Explanation of the report

+
Explanation of the report
 -------------------------
 
    system hostname              report time        system load
@@ -133,27 +109,14 @@ Explanation of the report
          |      NTP status          |                   |  Number of CPU(s)
          |         |                |                   |      |
          V         V                V                   V      V                  
-hosting.gelogic.net*+ > status at 19:15 > 5min load is 1.06 on 4 cpu(s)
-```
-
- 
-
-
-## Author
-
-::: success
- by 🅴🆁🆁🅴🆄🆁32
-:::
-
- 
-
-::: warning
-  Hosted on
-:::
-
-
-
-::: info
-🅴🅲🅷🔵🆂🆈🆂🆃🅴🅼
-:::
- 
\ No newline at end of file
+hosting.gelogic.net*+ > status at 19:15 > 5min load is 1.06 on 4 cpu(s)

Author

+
+

by 🅴🆁🆁🅴🆄🆁32

+
+
+

Hosted on

+
+
+

🅴🅲🅷🔵🆂🆈🆂🆃🅴🅼

+
+
\ No newline at end of file