From e7de5923e1243b9ab66fdf6a4331256f9ecff10a Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 10 Nov 2022 09:07:02 +0300 Subject: [PATCH] add btop resources monitor. --- util/admin/btop/actions.py | 24 +++++++++++++++++++ util/admin/btop/pspec.xml | 48 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 util/admin/btop/actions.py create mode 100644 util/admin/btop/pspec.xml diff --git a/util/admin/btop/actions.py b/util/admin/btop/actions.py new file mode 100644 index 0000000000..9336549755 --- /dev/null +++ b/util/admin/btop/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools, get + +j = ''.join([ + ' VERBOSE=true', + ' QUIET=true', + ' STRIP=true', + ' ARCH=x86_64', + ' PREFIX=/usr ' + ]) + +def setup(): + pass + +def build(): + autotools.make(j) + +def install(): + autotools.rawInstall("DESTDIR=%s %s" % (get.installDIR(), j)) diff --git a/util/admin/btop/pspec.xml b/util/admin/btop/pspec.xml new file mode 100644 index 0000000000..8b469d6798 --- /dev/null +++ b/util/admin/btop/pspec.xml @@ -0,0 +1,48 @@ + + + + + btop++ + https://github.com/aristocratos/btop + + fury + uglyside@yandex.ru + + Apache-2.0 + app:console + util.admin + A monitor of resources. + Resource monitor that shows usage and stats for processor, memory, disks, network and processes. + + https://github.com/aristocratos/btop/archive/refs/tags/v1.2.13.tar.gz + + + libgcc + + + + + + + + btop++ + + libgcc + + + /usr/bin + /usr/share + /usr/share/btop + + + + + + 2022-10-11 + 1.2.13 + First build. + fury + uglyside@yandex.ru + + +