GNU bug report logs -
#59950
[PATCH] gnu: Add low-memory-monitor
Previous Next
To reply to this bug, email your comments to 59950 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#59950
; Package
guix-patches
.
(Sat, 10 Dec 2022 21:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
florhizome <at> posteo.net
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 10 Dec 2022 21:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: florhizome <florhizome <at> posteo.net>
* gnu/packages/freedesktop.scm (low-memory-monitor): New variable.
---
gnu/packages/freedesktop.scm | 43 ++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index f69b4b1e86..d3d66d5209 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1889,6 +1889,49 @@ (define-public libqmi
;; The qmicli tool is released under the GPLv2+ license.
(list license:lgpl2.0+ license:gpl2+))))
+(define-public low-memory-monitor
+ (package
+ (name "low-memory-monitor")
+ (version "2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/hadess/low-memory-monitor")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0431wzn9q2hnx0mwai8w3bcmbln8g76r7wyyhjbkamnl2sccl8jn"))))
+ (build-system meson-build-system)
+ (arguments
+ (list #:configure-flags #~(list "-Dsystemdsystemunitdir=false")
+ #:glib-or-gtk? #t))
+ (native-inputs
+ (list (list glib "bin") gobject-introspection gtk-doc libxml2
+ pkg-config))
+ (inputs
+ (list glib libgudev eudev))
+ (home-page "https://gitlab.freedesktop.org/hadess/low-memory-monitor")
+
+ (synopsis "Daemon to send information about memory pressure to userspace")
+ (description
+ "Low Memory Monitor is an early boot daemon that will monitor memory
+pressure information coming from the kernel, and, when memory pressure means
+that memory isn't as readily available and would cause interactivity problems,
+ would:
+
+@itemize
+@item send D-Bus signals to user-space applications when memory is running low,
+
+@item if configured to do so and memory availability worsens, activate the
+ kernel's OOM killer.
+@end itemize
+
+It is designed for use on traditional Linux systems, with interactive user
+interfaces and D-Bus communication.")
+ (license license:gpl3)))
+
(define-public modem-manager
(package
(name "modem-manager")
--
2.38.1
This bug report was last modified 2 years and 127 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.