xmobar

Portabilityunportable A binding to C's statvfs(2)
Stabilityunstable
MaintainerJose A Ortega Ruiz <jao@gnu.org>
Safe HaskellNone

StatFS

Description

 

Documentation

data FileSystemStats

Constructors

FileSystemStats 

Fields

fsStatBlockSize :: Integer

Optimal transfer block size.

fsStatBlockCount :: Integer

Total data blocks in file system.

fsStatByteCount :: Integer

Total bytes in file system.

fsStatBytesFree :: Integer

Free bytes in file system.

fsStatBytesAvailable :: Integer

Free bytes available to non-superusers.

fsStatBytesUsed :: Integer

Bytes used.

Instances

getFileSystemStats :: String -> IO (Maybe FileSystemStats)