-
You have to create a simple script called
monitoring.sh
, it must be developed in bash. -
At server startup, the script will display some information on all terminals every 10 minutes.
-
The banner is optional.
-
No error must be visible.
- The architecture of your operating system and its kernel version
- The number of physical processors
- The number of virtual processors
- The current available RAM on your server and its utilization rate as a percentage
- The current available memory on your server and its utilization rate as a percentage
- The current utilization rate of your processors as a percentage
- The date and time of the last reboot
- Whether LVM is active or not
- The number of active connections
- The number of users using the server
- The IPv4 address of your server and its MAC (Media Access Control) address
- The number of commands executed with the sudo program