title: Get size of folder and all contents for each user
body: <p>I have seen in several SAAS sites where people store data and the site tracks how much data is on their servers. They display that information to the user. </p>
  
  <p>Using ruby on rails how do some of these sites do this? It seems like enough sites do it that there must be a standard way I am just not aware of. Or is it everyone pretty much implements their own solution?</p>
  
  <p>If everyone has implemented their own solution then is this a good appraoch using: </p>
  
  <pre><code>`du -s &lt;directory&gt;` 
  </code></pre>
  
  <p>and just parsing the data.</p>