Prise en compte de tous les FS
This commit is contained in:
parent
da9a19a1da
commit
58c9138900
@ -1,8 +1,7 @@
|
|||||||
# Hard Drive usage
|
# Hard Drive usage
|
||||||
function hddtop() {
|
function hddtop() {
|
||||||
df -TPh \
|
LANG=C df -TPh \
|
||||||
| grep '^/dev' \
|
| grep -vE '(squashfs|tmpfs|devtmpfs|^Filesystem)' \
|
||||||
| grep -v squashfs \
|
|
||||||
| sort -k 6,6 -n \
|
| sort -k 6,6 -n \
|
||||||
| awk \
|
| awk \
|
||||||
-v red="$(tput setaf 1)" \
|
-v red="$(tput setaf 1)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user