in reply to Re: Script to show space usage by users in home partition
in thread Script to show space usage by users in home partition

I use at work a loop over the home directories and 'du', too. Thats
... ($users{uid}) = `/usr/bin/du -s0 --block-size=1048576 $uid ` =~ /^(\d* +)/; ...
And %users contains the "wasted" space in MB. Additionally I "nice" the process.