josephwilkes
MIS
Trying to figure out the command to see how much space is used on each hard drive and/or partition?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
echo "Total MB | Free MB"
for hdisk in `lspv |awk '{print $1}'`
do
lspv $hdisk|awk '/TOTAL|FREE PPs/'|awk '{print $3}'|xargs
done