git.iko.soy/typeable/nixpkgs
on master help sign in
pagemon: init at 0.01.06
commitde43878f0900056930b464f374f2515a6a39a492 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateWed 27 Jan 2016, 04:42 (11 years ago) parentfa247fa
2 files changed+40
pkgs/os-specific/linux/pagemon/default.nix+38 pkgs/top-level/all-packages.nix+2
pkgs/os-specific/linux/pagemon/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv, fetchFromGitHub, ncurses }:
2+
3+stdenv.mkDerivation rec {
4+ name = "pagemon-${version}";
5+ version = "0.01.06";
6+
7+ src = fetchFromGitHub {
8+ sha256 = "0p6mzmyjn5dq1ma9ld47gnrszyf0yph76dd5k7hl60a5zq5741aa";
9+ rev = "V${version}";
10+ repo = "pagemon";
11+ owner = "ColinIanKing";
12+ };
13+
14+ buildInputs = [ ncurses ];
15+
16+ makeFlags = [
17+ "BINDIR=$(out)/bin"
18+ "MANDIR=$(out)/share/man/man8"
19+ ];
20+
21+ meta = with stdenv.lib; {
22+ inherit (src.meta) homepage;
23+ description = "Interactive memory/page monitor for Linux";
24+ longDescription = ''
25+ pagemon is an ncurses based interactive memory/page monitoring tool
26+ allowing one to browse the memory map of an active running process
27+ on Linux.
28+ pagemon reads the PTEs of a given process and display the soft/dirty
29+ activity in real time. The tool identifies the type of memory mapping
30+ a page belongs to, so one can easily scan through memory looking at
31+ pages of memory belonging data, code, heap, stack, anonymous mappings
32+ or even swapped-out pages.
33+ '';
34+ license = licenses.gpl2Plus;
35+ platforms = platforms.linux;
36+ maintainers = with maintainers; [ nckx ];
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -10467,6 +10467,8 @@ let
1046710467
1046810468 nss_ldap = callPackage ../os-specific/linux/nss_ldap { };
1046910469
10470+ pagemon = callPackage ../os-specific/linux/pagemon { };
10471+
1047010472 pam = callPackage ../os-specific/linux/pam { };
1047110473
1047210474 # pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )