first commit
This commit is contained in:
parent
202142a293
commit
2d1520c3da
1 changed files with 1 additions and 1 deletions
2
Stats32
2
Stats32
|
@ -46,7 +46,7 @@ printf "Swap usage \e[46;3m\e[30m\t%s\e[0;0m\tProcesses \e[35;3m\t%s\e[0;0m\n"
|
||||||
printf "User SSH \e[41m\e[1m\t%s\e[0;0m\tShell \e[95m\t%s\e[0;0m\n" " $(users | wc -w) " $SHELL
|
printf "User SSH \e[41m\e[1m\t%s\e[0;0m\tShell \e[95m\t%s\e[0;0m\n" " $(users | wc -w) " $SHELL
|
||||||
printf "%s------------\t------\t------------\t--------------\n"
|
printf "%s------------\t------\t------------\t--------------\n"
|
||||||
|
|
||||||
echo -e "\n$(tput setaf 7) Conected Users $(users | wc -w) \e[1;30m" ; [[ -z "$nbconnected" ]] && last -a -n $nbconnected | grep pts | head -3 || last -a -n $nbconnected | grep pts
|
echo -e "\n Conected Users $(users | wc -w) \e[1;30m" ; [[ -z "$nbconnected" ]] && last -a -n $nbconnected | grep pts | head -3 || last -a -n $nbconnected | grep pts | head -3
|
||||||
echo -e "\e[0m"
|
echo -e "\e[0m"
|
||||||
#[[ -z "$nbconnected" ]] && echo "Empty" || echo "Not empty"
|
#[[ -z "$nbconnected" ]] && echo "Empty" || echo "Not empty"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue