diskspace - Linux du directory size, how is this possible? -


I have a job named Libre SCRATCH I see this

  ubuntu @ memo: ~ $ du -s joblibSCRATCH 2831128 joblibSCRATCH   

This is 2831128 kilobytes, which is 2.836024 GB. I see this:

  ubuntu@memo: ~ $ du -hs joblibSCRATCH 2.7G joblibSCRATCH   

So the two are saying that this folder is both 2.7 GB and 2.83 GB How can this be? If it makes any difference then I am using a virtual hard drive on the cloud server.

  2831128/1024 = 2764.7734375 2764.7734375 / 1024 = 2.69997406005859375    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -