Change message of the day
This commit is contained in:
5
templates/etc/update-motd.d/04-load-average
Executable file
5
templates/etc/update-motd.d/04-load-average
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/update-motd.d/colors.txt
|
||||
|
||||
echo -e " ${TITLE_COLOR}Load Averages.......:${DEFAULT_COLOR} 1 min: ${TEXT_COLOR}$(cat /proc/loadavg | cut -f1 -d' ')%${DEFAULT_COLOR} | 5 mins: ${TEXT_COLOR}$(cat /proc/loadavg | cut -f2 -d' ')%${DEFAULT_COLOR} | 15 mins: ${TEXT_COLOR}$(cat /proc/loadavg | cut -f3 -d' ')%${NC}"
|
||||
Reference in New Issue
Block a user