Commit 8110898e by irul

Update server_info.sh

1 parent 7e1bed90
......@@ -37,7 +37,7 @@ echo ""
#echo -e "Disk Usage: "`df -h --total | grep "/dev/" | grep -v "loop" | grep -v "tmpfs" | sort`
echo -e "== Disk Usage == "
df -h --total | grep -v "loop" | grep -v "tmpfs" | grep -v "udev" | while read -r line ; do
if grep -q "Filesystem" <<< "$line" || grep -q "total" <<< "$line"; then
if grep -q "Sistem" <<< "$line" || grep -q "Filesystem" <<< "$line" || grep -q "total" <<< "$line"; then
str="[_] $line"
echo "${str/total/Total}"
else
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!