taffybar-0.4.6: 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.Information.Network

Description

Provides information about network traffic over selected interfaces, obtained from parsing the /proc/net/dev file using some of the facilities provided by the System.Information.StreamInfo module.

Synopsis

Documentation

getNetInfo :: String -> IO (Maybe [Integer]) Source

Returns a two-element list containing the current number of bytes received and transmitted via the given network interface (e.g. "wlan0"), according to the contents of the /proc/dev/net file.