Browse Source

added physicaltotalmb

pull/946/head
Daniel Gibbs 9 years ago
parent
commit
1ba9372122
  1. 2
      lgsm/functions/info_distro.sh

2
lgsm/functions/info_distro.sh

@ -61,13 +61,13 @@ else
fi fi
physmemtotal=$(free ${humanreadable} | awk '/Mem:/ {print $2}') physmemtotal=$(free ${humanreadable} | awk '/Mem:/ {print $2}')
physmemtotalmb=$(free -m | awk '/Mem:/ {print $2}')
physmemused=$(free ${humanreadable} | awk '/Mem:/ {print $3}') physmemused=$(free ${humanreadable} | awk '/Mem:/ {print $3}')
physmemfree=$(free ${humanreadable} | awk '/Mem:/ {print $4}') physmemfree=$(free ${humanreadable} | awk '/Mem:/ {print $4}')
swaptotal=$(free ${humanreadable} | awk '/Swap:/ {print $2}') swaptotal=$(free ${humanreadable} | awk '/Swap:/ {print $2}')
swapused=$(free ${humanreadable} | awk '/Swap:/ {print $3}') swapused=$(free ${humanreadable} | awk '/Swap:/ {print $3}')
swapfree=$(free ${humanreadable} | awk '/Swap:/ {print $4}') swapfree=$(free ${humanreadable} | awk '/Swap:/ {print $4}')
### Disk Infomation ### Disk Infomation
## Available disk space on the partition. ## Available disk space on the partition.

Loading…
Cancel
Save