Disk usage information of a user
Lai Zit Seng
lzs at pobox.com
Tue Dec 21 13:41:44 UTC 2004
On Tue, 21 Dec 2004, Paul Howarth wrote:
> Rudolf Amirjanyan wrote:
>> Hello,
>> On my server I have 150 users, and their Home folders are located in the
>> /home directory.
>> the question is, how I can see the DISC USAGE for each user ?.
>> DU -h is shooing me the whole information (subdirectories, files, etc),
>> but I need only the users USAGE.
>> for example.
>> user_one 20000 kb
>> user-two 18300 kb
>> etc.
>
> Try:
>
> # cd /home
> # du -h -s *
Another method... if you have quotas enabled, would be to use the repquota
command. This might have the benefit of counting space occupied elsewhere
(as long as quota is enabled).
Regards,
.lzs
---
Lai Zit Seng
Email: lzs at thinkingfarm.com
Web: http://thinkingfarm.com
More information about the fedora-list
mailing list