taffybar-2.1.1: A desktop bar similar to xmobar, but with more GUI

Copyright(c) José A. Romero L.
LicenseBSD3-style (see LICENSE)
MaintainerJosé A. Romero L. <escherdragon@gmail.com>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe
LanguageHaskell2010

System.Taffybar.Information.DiskIO

Description

Provides information about read/write operations in a given disk or partition, obtained from parsing the /proc/diskstats file with some of the facilities included in the System.Taffybar.Information.StreamInfo module.

Synopsis

Documentation

getDiskTransfer :: String -> IO [Double] Source #

Returns a two-element list containing the speed of transfer for read and write operations performed in the given disk/partition (e.g. "sda", "sda1").