some scripts updates

This commit is contained in:
Johannes Findeisen 2023-06-01 09:56:04 +02:00
commit 126d1ad2c1
2 changed files with 8 additions and 6 deletions

View file

@ -3,8 +3,9 @@
# this one is creating my /etc/motd file via cron to get some network
# statistics when logging in to my servers.
echo "" > /etc/motd
hostname -f >> /etc/motd
echo "" >> /etc/motd
vnstat >> /etc/motd
#echo "" >> /etc/motd
vnstat -i eth0 -h 24 > /etc/motd
#vnstat -i eth0 -d 7 >> /etc/motd
#vnstat -i eth0 -m 6 >> /etc/motd
#vnstat -i eth0 -y 6 >> /etc/motd