class Cloudscopes::StatFs::Result
The result of a statfs operation, see “man statfs” for more information on each field. We add some helper methods that deal in bytes.
Public Instance Methods
avail()
click to toggle source
# File lib/cloudscopes/filesystem.rb, line 9 def avail; bavail * bsize; end
free()
click to toggle source
# File lib/cloudscopes/filesystem.rb, line 8 def free; bfree * bsize; end
total()
click to toggle source
# File lib/cloudscopes/filesystem.rb, line 7 def total; blocks * bsize; end