12345678910111213141516171819202122232425 |
- #!/bin/bash
- red='\e[1;31m'
- green='\e[0;32m'
- NC='\e[0m'
- MYIP=$(wget -qO- icanhazip.com);
- echo "Checking VPS"
- clear
- echo " "
- echo "===========================================";
- echo " ";
- if [ -e "/root/log-limit.txt" ]; then
- echo "User Who Violate The Maximum Limit";
- echo "Time - Username - Number of Multilogin"
- echo "-------------------------------------";
- cat /root/log-limit.txt
- else
- echo " No user has committed a violation"
- echo " "
- echo " or"
- echo " "
- echo " The user-limit script not been executed."
- fi
- echo " ";
- echo "===========================================";
- echo " ";
|