forked from mirrors/nixpkgs
pagemon: init at 0.01.06
This commit is contained in:
parent
fa247fa213
commit
de43878f09
38
pkgs/os-specific/linux/pagemon/default.nix
Normal file
38
pkgs/os-specific/linux/pagemon/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, fetchFromGitHub, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pagemon-${version}";
|
||||
version = "0.01.06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "0p6mzmyjn5dq1ma9ld47gnrszyf0yph76dd5k7hl60a5zq5741aa";
|
||||
rev = "V${version}";
|
||||
repo = "pagemon";
|
||||
owner = "ColinIanKing";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
makeFlags = [
|
||||
"BINDIR=$(out)/bin"
|
||||
"MANDIR=$(out)/share/man/man8"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Interactive memory/page monitor for Linux";
|
||||
longDescription = ''
|
||||
pagemon is an ncurses based interactive memory/page monitoring tool
|
||||
allowing one to browse the memory map of an active running process
|
||||
on Linux.
|
||||
pagemon reads the PTEs of a given process and display the soft/dirty
|
||||
activity in real time. The tool identifies the type of memory mapping
|
||||
a page belongs to, so one can easily scan through memory looking at
|
||||
pages of memory belonging data, code, heap, stack, anonymous mappings
|
||||
or even swapped-out pages.
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ nckx ];
|
||||
};
|
||||
}
|
|
@ -10467,6 +10467,8 @@ let
|
|||
|
||||
nss_ldap = callPackage ../os-specific/linux/nss_ldap { };
|
||||
|
||||
pagemon = callPackage ../os-specific/linux/pagemon { };
|
||||
|
||||
pam = callPackage ../os-specific/linux/pam { };
|
||||
|
||||
# pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )
|
||||
|
|
Loading…
Reference in a new issue