|
|
@ -2,7 +2,7 @@ |
|
|
|
# LGSM fn_details function |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: http://gameservermanagers.com |
|
|
|
# Version: 190414 |
|
|
|
# Version: 270515 |
|
|
|
|
|
|
|
# Description: Displays server infomation. |
|
|
|
|
|
|
@ -41,9 +41,12 @@ rm -f .fn_details_performance |
|
|
|
|
|
|
|
fn_details_disk(){ |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[93mDisk Usage\e[0m" |
|
|
|
echo -e "\e[93mStorage\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
|
echo -e "\e[34mDisk available:\t\e[0m${availspace}" >> .fn_details_disk |
|
|
|
echo -e "\e[34mFilesystem:\t\e[0m${filesystem}" >> .fn_details_disk |
|
|
|
echo -e "\e[34mTotal:\t\e[0m${totalspace}" >> .fn_details_disk |
|
|
|
echo -e "\e[34mUsed:\t\e[0m${usedspace}" >> .fn_details_disk |
|
|
|
echo -e "\e[34mAvailable:\t\e[0m${availspace}" >> .fn_details_disk |
|
|
|
echo -e "\e[34mServerfiles:\t\e[0m${serverfilesdu}" >> .fn_details_disk |
|
|
|
if [ -d "${backupdir}" ]; then |
|
|
|
echo -e "\e[34mBackups:\t\e[0m${backupdirdu}" >> .fn_details_disk |
|
|
|