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.1.8 Release: 1 License: GPL Group: Applications/System Source0: http://procps.sourceforge.net/%{name}-%{version}.tar.gz # Source0-md5: 617e282bf3eefbd1753529aa8df4144f Source1: %{name}-non-english-man-pages.tar.bz2 # Source1-md5: f6f441ea8bba8b692649761ebeceb943 Patch0: %{name}-make.patch Patch1: %{name}-sysctl_stdin.patch URL: http://procps.sourceforge.net/ BuildRequires: ncurses-devel >= 5.1 PreReq: fileutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: procps-X11 %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} = %{version} %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 = %{version} %description static Static version of libproc library. %description static -l pl Statyczna wersja biblioteki libproc. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %{__make} \ CC="%{__cc}" \ OPT="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" \ SHARED=1 %{__make} \ CC="%{__cc}" \ OPT="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" \ SHARED=0 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{bin,sbin,lib} \ $RPM_BUILD_ROOT{%{_includedir}/proc,%{_libdir}} \ $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5,8}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ install=install install proc/*.a $RPM_BUILD_ROOT%{_libdir} install proc/*.h $RPM_BUILD_ROOT%{_includedir}/proc 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}/* %{_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) /lib/libproc.so %{_includedir}/proc %files static %defattr(644,root,root,755) %{_libdir}/libproc.a