Disk monitor script with long file systems
- by DD.
$ 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?