[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Output badformat of "df -h" & "df -T"
From: |
Olaf Reitmaier Veracierta |
Subject: |
Output badformat of "df -h" & "df -T" |
Date: |
Wed, 14 Jan 2009 12:58:31 +1930 |
Hi,
sigefirrhh01:/var/opt/tape-backup/bin# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p1 19G 1.1G 17G 6% /
tmpfs 1.7G 0 1.7G 0% /lib/init/rw
udev 10M 64K 10M 1% /dev
tmpfs 1.7G 0 1.7G 0% /dev/shm
/dev/cciss/c0d0p3 19G 173M 18G 1% /home
/dev/cciss/c0d0p4 229G 68G 151G 31% /var
sigefirrhh01:/var/opt/tape-backup/bin# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p1
ext3 19222656 1050948 17195164 6% /
tmpfs tmpfs 1684988 0 1684988 0% /lib/init/rw
udev tmpfs 10240 64 10176 1% /dev
tmpfs tmpfs 1684988 0 1684988 0% /dev/shm
/dev/cciss/c0d0p3
ext3 19222656 176420 18069688 1% /home
/dev/cciss/c0d0p4
ext3 239889600 70285856 157418008 31% /var
I'm trying to use the output of the command df -T as input for some shell
script
the problem arises when for some reason some line split into two lines, just
like the example before.
It's is normal or there is a posibility to rearrange the format of the df
output.
This problem also happens when use df on system with LVM configured disks.
Regards.
--
"You don't know where your shadow will fall",
Somebody.-
----------------------------------------------------------------
Olaf Reitmaier Veracierta <address@hidden>
----------------------------------------------------------------
http://olafrv.googlepages.com
----------------------------------------------------------------
- Output badformat of "df -h" & "df -T",
Olaf Reitmaier Veracierta <=