I think we need to see figures from a live system for df -k (if the numbers don't overflow) and df -m and to know what the mount command was for this filesystem. Chances are that it will be correct and that the man df example is wrong.
Mathematically the percentage used should be:
However I have seen differences like this caused by error accumulation in Real Arithmetic. i.e. The program was not written to use sufficient precision.
Not on AIX but I have seen a version of "df" which used 1000 as the divisor not 1024 which was scary.
Footnote: Usually this question is because the free space percentage figure is too low! Usually because the account issuing the "df" was not root. This is one of the very few times where I have seen the free space percentage too high.
Last edited by methyl; 03-05-2012 at 06:51 PM..
Reason: footnote
Hey my friend was asking me if i knew a way to cout how many different words in a file. I told him no not off hand, but i was thinking about it, and i started to wonder also. I imagine this is probably pretty simple im just missing something, I keep confusing my self with how you would compair and... (16 Replies)
hallo, ik heb hier een vraagje. hoeveel gebruikers kunnen er op 1 unix systeem. hopelijk antwoorden golle nu want ik moet da vinde voor school en die leerkracht zaagt. :p
groetjes eu wacht wa was mijne nick ah ja vraagje
groetjes vraagje
ik kan geen engels dus antwoord liever in het... (1 Reply)
Hello
if I like to move file from defined directories system to new directory that not contained any directories system structure .
But I like to create the same file system structure as source directory for example :
I have 2 directories: foo1 and foo2
foo1 have directories and foo2 have... (2 Replies)
Now that I have getch() to work, I have yet another problem. BTW, thank you for answering these questions, I do ask a lot, only because I am eager to know, what is a board used for anyways :)
Ok, he's the problem...
#include iostream.h
#include conio.h
int main()
{
char movement;
... (2 Replies)