Disk usage information of a user
nodata
fedora at nodata.co.uk
Tue Dec 21 14:06:47 UTC 2004
> El mar, 21-12-2004 a las 21:41 +0800, Lai Zit Seng escribió:
>> On Tue, 21 Dec 2004, Paul Howarth wrote:
>> >> 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
>
> try
>
> # du --max-depth=1 -h
cd /home
du -sk * | sort -n
More information about the fedora-list
mailing list