Disk monitor script with long file systems
Posted
by
DD.
on Server Fault
See other posts from Server Fault
or by DD.
Published on 2012-06-08T08:35:20Z
Indexed on
2012/06/08
10:42 UTC
Read the original article
Hit count: 264
$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_app001-lv_root
34G 12G 21G 35% /
tmpfs 8.4G 0 8.4G 0% /dev/shm
/dev/sda1 508M 54M 429M 12% /boot
/dev/mapper/vg_app001-lv_home
19G 309M 17G 2% /home
I want to run a disk monitor script but because the filesystem is so long the row has been split into two lines and the script fails.
Any suggestions?
© Server Fault or respective owner