Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048597
en ru br
Репозитории ALT
S:2.7.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
License: GPLv2
Group: Monitoring
Version: 1.10.2
Release: alt0.M40.1
Source0: http://kldp.net/frs/download.php/4524/%name-%version.tar.bz2
Source1: %name.desktop
URL: http://qps.kldp.net
Summary: Visual process status monitor

BuildRequires: ImageMagick gcc-c++ libqt4-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
export QTDIR=%_qt4dir
export PATH=$PATH:%_qt4dir/bin
qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %name.pro
%make_build

%install
%__install -Dp -m 0755 %name %buildroot%_bindir/%name
%__install -Dp -m 644 %name.1 %buildroot%_man1dir/%name.1
%__install -pD -m 644 %SOURCE1 %buildroot%_desktopdir/%name.desktop

# Icons

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

%post
%update_menus

%postun
%clean_menus

%files
%doc CHANGES README_INSTALL COPYING
%_man1dir/*
%_bindir/*
%_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