[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

df cmd calculates wrong percent usage (FC6)



Hi,

wondering about the df cmd output:

df -k
=====

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb1             10078820   4932492   4634344  52% /
/dev/hdb3             14418352   1552904  12133036  12% /disk2
/dev/sda1            110871076   6906248  98332844   7% /usbdisk
/dev/sda2             30233928  12583336  16114780  44% /SYSTEM_BACKUP

In the first filesystem line e.g., there is a usage of 4932492 blocks against 10078820 number of blocks in the filesystem, this are rounded 49% and not 52%. It seems that the "use%" is taken from another data source than from "Used/1K-blocks".

How should i interprete this? Feature or bug?

Regards

--
Joachim Backes <joachim backes rhrk uni-kl de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]