Репозиторий Sisyphus
Последнее обновление: 12 июля 2020 | Пакетов: 17700 | Посещений: 18876416
en ru br
Репозитории ALT
S:2.1.0-alt1
5.1: 1.10.16-alt0.M51.1
4.1: 1.10.16-alt0.M41.1
4.0: 1.10.2-alt0.M40.1
3.0: 1.9.9.4-alt1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: qps

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: qps
Version: 1.10.18
Release: alt1
Summary: Visual process status monitor
License: GPLv2+
Group: Monitoring
Packager: Motsyo Gennadi <drool at altlinux.ru>
URL: https://github.com/lxqt/qps/releases
Source0: %name-%version.tar.xz
Source1: %name.desktop

BuildRequires: /usr/bin/convert cmake qt5-tools-devel qt5-x11extras-devel

%description
Qps is a perfect visual process manager, an X11 version of "top" or "ps" that displays processes in a window and lets you sort and manipulate them easily
Qps can
   * change nice value of a process
   * alter the scheduling policy and soft realtime priority of a process
   * display the TCP/UDP sockets used by a process, and names of the connected hosts (Linux only)
   * display the memory mappings of the process (which files and shared libraries are loaded where)
   * display the open files of a process, and the state of unix domain sockets
   * kill or send any other signal to selected processes
   * display the load average as a graph, and use this as its icon when iconified
   * show (as graph or numbers) current CPU, memory and swap usage
   * sort the process table on any attribute (size, cpu usage, owner etc)
   * on SMP systems running Linux 2.1 or later (or Solaris), display cpu usage for each processor, and which CPU a process is running on
   * display the environment variables of any process
   * show the process table in tree form, showing the parent-child relationship
   * execute user-defined commands on selected processes
   * display MOSIX-specific fields and migrate processes to other nodes in a cluster
%prep
%setup -q

%build
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags"
%make_build

%install
cd build
%make_install DESTDIR=%buildroot install
install -pD -m 644 %SOURCE1 %buildroot%_desktopdir/%name.desktop

# Icons

mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 32x32 ../icon/%name.png %buildroot%_niconsdir/%name.png
convert -resize 16x16 ../icon/%name.png %buildroot%_miconsdir/%name.png

%files
%dir %_datadir/%name
%doc CHANGELOG COPYING LICENSE.QPL README.md
%_man1dir/*
%_bindir/*
%_datadir/%name
%_desktopdir/%name.desktop
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin