Popularity
6.2
Declining
Activity
0.0
Stable
16
4
2

Monthly Downloads: 21
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: System     FFI     Linux    
Latest version: v0.1.1

sysinfo alternatives and similar packages

Based on the "FFI" category.
Alternatively, view sysinfo alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of sysinfo or a related project?

Add another 'FFI' Package

README

sysinfo

Build Status

Haskell interface for the sysinfo Linux system call. This can be used to get system statistics like uptime, free memory, system load etc.

Note that the package works only on Linux system with kernel version >= 2.3.23 and uses FFI calls.

Usage

λ> import System.SysInfo
λ> val <- sysInfo
λ> either (\_ -> "sysinfo failed") show val
"SysInfo {uptime = 121149, loads = Loads {sloads = [91200,80736,82592]}, totalram = 12286611456, freeram = 967655424, sharedram = 63033344, bufferram = 838983680, totalswap = 8261726208, freeswap = 8259276800, procs = 418, totalhigh = 0, freehigh = 0, memUnit = 1}"