Welcome to the forums,
Not bad & will mark solved, but here's another faster way (since it doesn't need to fire up multiple connections):
Code:
zmprov gqu localhost
(Stands for GetQuotaUsage - will printout name, allocated, used.)
~
Not actually necessary most of the time (since it'll put the biggest users at the top by default), but say you wanted to change the column order to used, allocated, name:
Code:
zmprov gqu `zmhostname`| awk {'print " "$3" "$2" "$1'} Or just used & name:
Code:
zmprov gqu server.domain.com | awk {'print " "$3" "$1'}