Re: System warning that "/var" is almost full
- Date: Tue, 30 Apr 2019 14:12:51 +0200
- From: Pascal Hambourg <pascal@xxxxxxxxxxxxxxx>
- Subject: Re: System warning that "/var" is almost full
Le 30/04/2019 à 07:35, Ben Finney a écrit :
You can see them sorted by size with:
$ du --max-depth=1 /var | sort --numeric-sort
The ‘-h’ (‘--human-readable’) is useful as its name implies; but it has
the disadvantage of being difficult to visually compare between lines.
Better to use absolute numbers if you want to compare accurately.
You can use '-h' in both 'du' and 'sort'.
du -hxd1 /some/path | sort -h