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

Thanks to Jim (disk usage checking #2)



Hi Jim,
It is what I need. It works very well.
Thank you very much!
Hailong Li

>Woops... typo in that email.  I apologize.
>
>The command to try is simply:
>
>du -H --max-depth=1
>
>It will scan through all sub directories in /home and output the size of
>each in "human" format (Megabytes, gigabytes) and only display the top level

>directory.  Example on one of my systems:
>
>[jim staff /home]# du -H --max-depth=1
>17k     ./lost+found
>2.3G    ./jim
>29k     ./aspseek
>62k     ./spamd
>4.1M    ./bumslut
>1.4M    ./elwood
>2.3G    .
>[jim staff /home]#
>----- Original Message -----
>From: "Jim" <jim berwynlibrary net>
>To: <enigma-list redhat com>
>Sent: Thursday, November 07, 2002 1:57 PM
>Subject: Re: disk usage checking
>
>
>> Try this:
>> login to the shell
>> su to root
>> cd /home
>> du -H --max-depth=1du -H --max-depth=1
>>
>>
>>
>> Jim
>> ----- Original Message -----
>> From: "Hailong Li" <hailong li jsums edu>
>> To: <enigma-list redhat com>
>> Sent: Thursday, November 07, 2002 1:26 PM
>> Subject: disk usage checking
>>
>>
>> > Hi there,
>> > Recently, my server's disk usage grows very fast, do you know how to
>check
>> the
>> > users' file system size? Under /home directory, there are 20
>> subdirectories,
>> > over 5,000 user accounts are assigned to those subdirectories. How to
>> check
>> > the user's filesystem size quickly so that I can ask users to delete
>some
>> of
>> > their files? The Operating System is RedHat 7.2.
>> > Thanks alot!
>> > Hailong Li
>> >
>> >
>> >
>> > _______________________________________________
>> > enigma-list mailing list
>> > enigma-list redhat com
>> > https://listman.redhat.com/mailman/listinfo/enigma-list
>>
>
>
>
>_______________________________________________
>enigma-list mailing list
>enigma-list redhat com
>https://listman.redhat.com/mailman/listinfo/enigma-list
>





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