From 19ed1146e6de9e0df08fffb7c38d1bc673f44fae Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Sun, 30 Jul 2017 22:40:45 +0200 Subject: [PATCH] Update README.md --- README.md | 167 +++++++++++++++++++++++++++--------------------------- 1 file changed, 83 insertions(+), 84 deletions(-) diff --git a/README.md b/README.md index 3fa8c3a..4e91711 100644 --- a/README.md +++ b/README.md @@ -20,101 +20,108 @@ ``` +- [Features](#features) +- [Requirements](#requirements) +- [Install](#install) +- [Sample MOTD32 report](#Sample MOTD32 report) +- [Documentation](#documentation) +- [Stats Repo](#Stats Repo) +- [License](#license) - -

-

-

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

-
+Features +-------- + - Add stats in SSH connection or in the shell +Requirements +------------ +- SHELL >= bash: 4.3.30(1) + +[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). + -

INSTALLATION:

- -(See INSTALL file.)

-

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

+Install +-------- +(See [install](https://gitlab.echosystem.fr/Erreur32/MOTDs32/blob/master/INSTALL) file.) -

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 -
or -usr/bin/motds32 -c -
or -motd -m

+or +```bash +$ usr/bin/motds32 -c +``` +or +``` +$ motd -m +``` -

You can set differents features in /etc/motds32/motds32.conf

+#You can set differents features in /etc/motds32/motds32.conf -

-

UPDATE:

+UPDATE: + ---- need to redownload the last version form gitlab, do the following: -
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 -
-

Sample MOTD32 report

-
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
--------------------------
+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: -... - -

Author

-original project: https://bitbucket.org/hetii/motdstat.git

-
-

🅴🆁🆁🅴🆄🆁32

-
-
-

Hosted on

-
-
+``` + +Powered by 🅴🆁🆁🅴🆄🆁32 +

🅴🅲🅷🔵🆂🆈🆂🆃🅴🅼

-
- \ No newline at end of file + + \ No newline at end of file