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

Re: Disk Space Issues



Le lundi 09 mai, Michiel Piscaer écrivit :

> Op 9-5-2011 10:48, Daniel Linux schreef:
> >What you would do after you found a full filesystem? It is just a
> >general question that was asked in my class of operating systems
> >and nobody had an answer.
> >
> >Thanks,
> >
> >On Mon, May 9, 2011 at 4:43 AM, Tom Grace
> ><lists-in@deathbycomputers.co.uk
> ><mailto:lists-in@deathbycomputers.co.uk>> wrote:
> >
> >    On 09/05/11 09:40, Daniel Linux wrote:
> >
> >        Yes, I need generic steps. After running   df -h   I know what
> >        filesystem is almost full. What should I do?
> >
> >    du -h /fullfilesystem is a good start, possibly with --max-depth
> >    to limit the output.
> >
> >
> With # du -h --max-depth=1 you can find what directory is taking all
> of the space. Next is take the right action, by emtying /  deleting
> the file, or moving the directory to an new disk.
[...]

Just to mention a useful ncurses tool to show and track space usage :
ncdu.

Attachment: signature.asc
Description: Digital signature


Reply to: