Assuming you have a dump of quota report from the filer in question at /tmp/toaster.quota, and want to see the top twenty disk users:
egrep '^user' /tmp/toaster.quota | awk '{ print $5, $2 }' | sort -rn | head -20
Assuming you have a dump of quota report from the filer in question at /tmp/toaster.quota, and want to see the top twenty disk users:
egrep '^user' /tmp/toaster.quota | awk '{ print $5, $2 }' | sort -rn | head -20
Post a Comment