Summary: Utilities for monitoring your system and processes on your system Summary(de): Utilities zum Ueberwachen Ihres Systems und der Prozesse Summary(es): Utilitarios de monitoración de procesos Summary(fr): Utilitaires de surveillance des processus Summary(pl): Narzędzia do monitorowania procesów Summary(pt_BR): Utilitários de monitoraçăo de processos Summary(tr): Süreç izleme araçlarý Name: procps Version: 3.2.4 Release: 1 Epoch: 1 License: GPL Group: Applications/System Source0: http://procps.sourceforge.net/%{name}-%{version}.tar.gz # Source0-md5: 1bec6740b385b3f73800827437f14f85 Source1: http://atos.wmid.amu.edu.pl/~undefine/%{name}-non-english-man-pages.tar.bz2 # Source1-md5: 60d24720b76c10553ed4abf68b76e079 Source2: top.desktop Source3: XConsole.sh Patch0: %{name}-make.patch Patch1: %{name}-sysctl_stdin.patch Patch2: %{name}-global.patch Patch3: %{name}-FILLBUG_backport.patch # http://www.nsa.gov/selinux/patches/procps-selinux.patch.gz Patch4: %{name}-selinux.patch URL: http://procps.sourceforge.net/ BuildRequires: ncurses-devel >= 5.1 PreReq: fileutils Obsoletes: procps-X11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The procps package contains a set of system utilities which provide system information. Procps includes ps, free, skill, snice, tload, top, uptime, vmstat, w and watch. The ps command displays a snapshot of running processes. The top command provides a repetitive update of the statuses of running processes. The free command displays the amounts of free and used memory on your system. The skill command sends a terminate command (or another specified signal) to a specified set of processes. The snice command is used to change the scheduling priority of specified processes. The tload command prints a graph of the current system load average to a specified tty. The uptime command displays the current time, how long the system has been running, how many users are logged on and system load averages for the past one, five and fifteen minutes. The w command displays a list of the users who are currently logged on and what they're running. The watch program watches a running program. The vmstat command displays virtual memory statistics about processes, memory, paging, block I/O, traps and CPU activity. %description -l de Das procps-Paket enthält System-Utilities, die Systeminformationen anzeigen. Procps enthält ps, free, skill, snice, tload, top, uptime, vmstat, w und watch. ps zeigt an, welche Prozesse gerade laufen. Top zeigt in regelmäßigen Abständen eine Prozessliste an. Free zeigt an, wieviel Speicher frei ist, und wieviel Speicher benutzt wird. Skill schickt den Terminierungsbefehl (oder ein anderes angegebenes Signal) an angegebene Prozesse. Snice ändert die Priorität von angegebenen Prozessen. tload zeigt einen Graphen der aktuellen Systemauslastung an. Uptime zeigt an, wie lange das System am laufen ist, wieviele User eingeloggt sind, und die Auslastungswerte der letzten Minute, der letzten 5 Minuten, und 15 Minuten. Der w-Befehl zeigt eine Liste der User an, die gerade eingeloggt sind, und welches Programm sie benutzen. Vmstat zeigt Statistiken über den virtuellen Speicher, Prozesse, Paging, Block I/O, Traps, und CPU-Aktivität. %description -l es Un paquete de utilitarios que relatan el estado del sistema. Se da énfasis a los procesos en ejecución, total de memoria disponible y a los usuarios que están "logados" en el sistema. %description -l fr Paquetage d'utilitaires donnant des informations sur l'état du systčme, dont les états des processus en cours, le total de mémoire disponible, et les utilisateurs loggés. %description -l pl Pakiet zawiera podstawowe narzędzia do monitorowania pracy systemu. Dzięki tym programom będziesz mógł na bieżąco kontrolować jakie procesy są w danej chwili uruchomione, ilość wolnej pamięci, kto jest w danej chwili zalogowany, jakie jest aktualne obciążenie systemu itp. %description -l pt_BR Um pacote de utilitários que relatam o estado do sistema. É dado ęnfase aos processos em execuçăo, total de memória disponível e aos usuários que estăo logados no sistema. %description -l tr Sistemin durumunu rapor eden araçlar paketidir. Koţan süreçlerin durumunu, kullanýlabilir bellek miktarýný, ve o an için sisteme girmiţ kullanýcýlarý bildirir. %package devel Summary: libproc header files Summary(pl): Pliki nagłówkowe libproc License: LGPL Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} %description devel libproc header files. %description devel -l pl Pliki nagłówkowe biblioteki libproc. %package static Summary: Static libproc library Summary(pl): Statyczna biblioteka libproc License: LGPL Group: Development/Libraries Requires: %{name}-devel = %{epoch}:%{version}-%{release} %description static Static version of libproc library. %description static -l pl Statyczna wersja biblioteki libproc. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build %{__make} proc/libproc.a \ CC="%{__cc}" \ ALL_CFLAGS="%{rpmcflags} -Wall -ffast-math" \ LDFLAGS="%{rpmldflags}" \ SHARED=0 mv -f proc/libproc.a . %{__make} clean %{__make} \ CC="%{__cc}" \ ALL_CFLAGS="%{rpmcflags} -Wall -ffast-math" \ LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_includedir}/proc,%{_libdir},%{_desktopdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ lib64=%{_lib} \ install="install -D" \ ldconfig=true ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libproc.so.*.*.*) \ $RPM_BUILD_ROOT%{_libdir}/libproc.so install libproc.a $RPM_BUILD_ROOT%{_libdir} install proc/*.h $RPM_BUILD_ROOT%{_includedir}/proc install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/XConsole rm -f $RPM_BUILD_ROOT/bin/kill rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{snice,kill,oldps}.1 rm -f $RPM_BUILD_ROOT%{_bindir}/{oldps,kill} echo ".so skill.1" > $RPM_BUILD_ROOT%{_mandir}/man1/snice.1 bzcat -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{kill,oldps}.1 %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig if [ -f /proc/uptime ] ; then /bin/ps /dev/null 2>&1 fi rm -f %{_sysconfdir}/psdevtab %{_sysconfdir}/psdatabase %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc NEWS BUGS TODO %attr(755,root,root) /%{_lib}/libproc*.*so %attr(755,root,root) /bin/* %attr(755,root,root) /sbin/sysctl %attr(755,root,root) %{_bindir}/* %{_desktopdir}/top.desktop %{_mandir}/man*/* %lang(cs) %{_mandir}/cs/man*/* %lang(de) %{_mandir}/de/man*/* %lang(es) %{_mandir}/es/man*/* %lang(fi) %{_mandir}/fi/man*/* %lang(fr) %{_mandir}/fr/man*/* %lang(hu) %{_mandir}/hu/man*/* %lang(it) %{_mandir}/it/man*/* %lang(ja) %{_mandir}/ja/man*/* %lang(ko) %{_mandir}/ko/man*/* %lang(nl) %{_mandir}/nl/man*/* %lang(pl) %{_mandir}/pl/man*/* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libproc.so %{_includedir}/proc %files static %defattr(644,root,root,755) %{_libdir}/libproc.a