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

Re: 100% used / file system. Help!



Hi,

Claudius Hubig wrote, on 09/22/11 00:05:
<snip>
> b) check not only the size of specific directories as given above but
> the size of _every_ directory in /:
> 
> # cd /; du -shcx *
> 
> The "x" option makes du stay on the root filesystem, so it ignores

In this command the "x" is useless since * expands to home and du will list the
disk usage of the home-partition.

As I suggested in another mail, better try something like

  du -hx --max-depth=1 / | sort -h

> your /home filesystem (even if it is currently mounted). "c" produces
> a grand total, you should check that this is the same as the usage
> reported by "df". You might want to sort the output by piping the
> result into "sort -h" ("h" for sorting wrt human-readable numbers).
> 
> Best regards,
> 
> Claudius



Reply to: