Doesn't handle varied off vg's on disks, but I'm sure you can tinker with it.
Code:
echo "Total MB | Free MB"
for hdisk in `lspv |awk '{print $1}'`
do
lspv $hdisk|awk '/TOTAL|FREE PPs/'|awk '{print $3}'|xargs
done
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.