packages feed

system-linux-proc 0.1.1 → 0.1.1.1

raw patch · 3 files changed

+10/−4 lines, 3 filesdep ~attoparsecdep ~bytestringdep ~containers

Dependency ranges changed: attoparsec, bytestring, containers, hedgehog, text

Files

ChangeLog.md view
@@ -1,5 +1,8 @@ # Revision history for system-linux-memory +## 0.1.1.1  -- 2021-10-08+* Support ghc 8.10 and 9.0+ ## 0.1.1.0  -- 2020-04-04  * Add `/proc/<pid>/net/tcp` parser (thanks Maarten)
System/Linux/Proc/MemInfo.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-}  module System.Linux.Proc.MemInfo@@ -18,7 +19,9 @@ import qualified Data.List as List import qualified Data.Map.Strict as Map import           Data.Maybe (mapMaybe)+#if ! MIN_VERSION_base(4,14,0) import           Data.Monoid ((<>))+#endif import           Data.Text (Text) import qualified Data.Text as Text import           Data.Word (Word64)@@ -36,7 +39,7 @@   , memFree :: !Word64 -- ^ Total free RAM (which includes memory used for filesystem caching).   , memAvailable :: !Word64 -- ^ Available memory.   , memBuffers :: !Word64 -- ^ Amount of RAM used for file buffers.-  , memSwapTotal :: !Word64 -- ^ Total about of swap space.+  , memSwapTotal :: !Word64 -- ^ Total amount of swap space.   , memSwapFree :: !Word64 -- ^ Amount of swap space that is free.   } deriving (Eq, Show) 
system-linux-proc.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                system-linux-proc-version:             0.1.1+version:             0.1.1.1 synopsis:            A library for accessing the /proc filesystem in Linux -- description: homepage:            https://github.com/erikd/system-linux-proc@@ -15,7 +15,7 @@ build-type:          Simple extra-source-files:  ChangeLog.md stability:           provisional-cabal-version:       >=1.10+cabal-version:       >= 1.10  library   default-language:   Haskell2010@@ -32,7 +32,7 @@   build-depends:       base                          >= 4.8         && < 5.0                      , attoparsec                    >= 0.12        && < 0.14                      , bytestring                    == 0.10.*-                     , containers                    == 0.5.*+                     , containers                    >= 0.5         && < 0.7                      , directory                     >= 1.2         && < 1.4                      , errors                        == 2.3.*                      , text                          == 1.2.*