mem-info-0.4.2.0: mem-info.cabal
cabal-version: 3.0
name: mem-info
version: 0.4.2.0
synopsis: Print the core memory usage of programs
description:
A utility to accurately report the core memory usage of programs.
This is a clone of
[ps_mem](https://github.com/pixelb/ps_mem/blob/master/README.md), which is
written in python
The package provides:
* an executable command `printmem` that is like `ps_mem` with extra features
* a library to enable core memory tracking on linux in haskell programs
See the [README](https://github.com/adetokunbo/mem-info/blob/master/README.md)
for further details
license: BSD-3-Clause
license-file: LICENSE
author: Tim Emiola
maintainer: adetokunbo@emio.la
category: Command Line Tools, system
homepage: https://github.com/adetokunbo/mem-info#readme
bug-reports: https://github.com/adetokunbo/mem-info/issues
build-type: Simple
extra-source-files: ChangeLog.md
source-repository head
type: git
location: https://github.com/adetokunbo/mem-info.git
library
autogen-modules: Paths_mem_info
exposed-modules:
System.MemInfo
System.MemInfo.Choices
System.MemInfo.Print
System.MemInfo.Proc
System.MemInfo.SysInfo
other-modules:
Paths_mem_info
System.MemInfo.Prelude
hs-source-dirs: src
build-depends:
, base >=4.10 && <5
, bytestring >=0.10.8.2 && <0.11 || >=0.11.3.1 && <0.13
, containers >=0.6.5 && <0.10
, directory >=1.3.6 && <1.5
, filepath >=1.4.2 && <1.6
, fmt >=0.6.3 && <0.8
, hashable >=1.4.2 && <1.6
, mtl >=2.0 && <2.3 || > 2.3 && <2.5
, optparse-applicative >=0.18.1 && <0.20
, text >=1.2.3 && <2.2
, unix >=2.7.2 && <2.9
, validity >=0.12.0 && <0.14
, validity-text >=0.3.1 && <0.4.1
default-language: Haskell2010
ghc-options:
-Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs
test-suite test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
MemInfo.ChoicesSpec
MemInfo.Files.Root
MemInfo.Files.Smap
MemInfo.OrphanInstances
MemInfo.MemInfoSpec
MemInfo.PrintSpec
MemInfo.ProcSpec
MemInfo.SysInfoSpec
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs
build-depends:
, base
, filepath
, containers
, directory
, fmt
, genvalidity
, genvalidity-hspec
, genvalidity-text
, hashable
, hspec
, mem-info
, optparse-applicative >=0.18.1 && <0.19
, QuickCheck
, text
, temporary >= 1.2 && < 1.4
, unix
-- printmem is the printmem command
executable printmem
main-is: PrintMem.hs
hs-source-dirs: exe
default-language: Haskell2010
build-depends:
, base >=4.14 && <5
, mem-info
ghc-options: -threaded -rtsopts -with-rtsopts=-N
ghc-options:
-Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs
-- mem_pids is an example that reports the usage of one or many pids
executable mem_pids
main-is: MemPids.hs
hs-source-dirs: exe
default-language: Haskell2010
build-depends:
, base >=4.14 && <5
, mem-info
ghc-options: -threaded -rtsopts -with-rtsopts=-N
ghc-options:
-Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs