I have search many and not found
1K-blocks meaning in df command(gnu), but I have calculated and think it equals to
1K Byte? Is there a offical explanation?
Then how to calculate the
tankywoo@gentoo-jl::~/ » df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 15G 5.9G 8.2G 42% / tankywoo@gentoo-jl::~/ » df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 15481840 6163320 8532088 42% /
In my local machine, I know there is
Used is 6163320, Avail is 8532088, so:
Used% should be (15481840-8532088)/15481740 = 44.88%, not 42%.
So how to get the result