[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


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
              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
              ext3    19222656    176420  18069688   1% /home
              ext3   239889600  70285856 157418008  31% /var

I'm trying to use the output of the command df -T as input for some shell
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

This problem also happens when use df on system with LVM configured disks.


  "You don't know where your shadow will fall",
 Olaf Reitmaier Veracierta <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]