[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Disk usage information of a user



> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]