Summary: Utilities for monitoring your system and processes on your system. Name: procps %define major_version 2 %define minor_version 0 %define revision 7 %define version %{major_version}.%{minor_version}.%{revision} Version: %{version} Release: 8vsd License: GPL Group: Applications/System Source: ftp://people.redhat.com/johnsonm/procps/procps-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: /bin/rm Patch1: procps-2.0.7-desktop.patch Patch2: procps-2.0.7-locale.patch Patch3: procps-2.0.7-negvalue.patch Patch4: procps-2.0.7-retcode.patch Patch5: procps-2.0.7-biguid.patch Patch6: procps-2.0.7-bigbuff.patch Patch7: procps-2.0.7-sysctl-error.patch Patch8: procps-2.0.7-aix.patch Patch9: procps-2.0.7-freevsd.patch %package X11 Group: Applications/System Summary: An X based system message monitoring utility. %description The procps package contains a set of system utilities which provide system information. Procps includes ps, free, sessreg, 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 X11 The procps-X11 package contains the XConsole shell script, a backwards-compatibility wrapper for the xconsole program. The xconsole program displays system messages which are usually sent to /dev/console. %prep %setup -q %patch1 -p0 %patch2 -p1 %patch3 -p1 %patch4 -p1 -b .retcode %patch5 -p1 -b .biguid %patch6 -p1 -b .bigbuff %patch7 -p1 -b .error %patch8 -p1 -b .aix %patch9 -p1 %build PATH=/usr/X11R6/bin:$PATH make CC="gcc $RPM_OPT_FLAGS" LDFLAGS=-s MANDIR=%{_mandir} %install rm -rf %{buildroot} mkdir -p %{buildroot}/bin %{buildroot}/usr/bin %{buildroot}/sbin mkdir -p %{buildroot}%{_mandir}/{man1,man5,man8} mkdir -p %{buildroot}/lib %{buildroot}/usr/X11R6/bin mkdir -p %{buildroot}/etc/X11/applnk/Utilities make DESTDIR=%{buildroot} OWNERGROUP= MANDIR=%{_mandir} install %clean rm -rf %{buildroot} %post # add libproc to the cache /sbin/ldconfig # remove obsolete files rm -f /etc/psdevtab /etc/psdatabase %files %defattr(0644,root,root,755) %attr(0644,root,root) %config(missingok) /etc/X11/applnk/Utilities/top.desktop %doc NEWS BUGS TODO %attr(755,root,root) /lib/libproc.so.2.0.7 # Changed to give admin user priveledges in a virtual server %attr(04555,root,root) /bin/ps %attr(555,root,root) /sbin/sysctl %attr(555,root,root) /usr/bin/oldps %attr(555,root,root) /usr/bin/uptime %attr(555,root,root) /usr/bin/tload %attr(555,root,root) /usr/bin/free %attr(555,root,root) /usr/bin/w # Changed to give admin user priveledges in a virtual server %attr(04555,root,root) /usr/bin/top %attr(555,root,root) /usr/bin/vmstat %attr(555,root,root) /usr/bin/watch %attr(555,root,root) /usr/bin/skill %attr(555,root,root) /usr/bin/snice %attr(555,root,root) /usr/bin/pgrep %attr(555,root,root) /usr/bin/pkill %attr(0644,root,root) %{_mandir}/man1/free.1* %attr(0644,root,root) %{_mandir}/man1/ps.1* %attr(0644,root,root) %{_mandir}/man1/oldps.1* %attr(0644,root,root) %{_mandir}/man1/skill.1* %attr(0644,root,root) %{_mandir}/man1/snice.1* %attr(0644,root,root) %{_mandir}/man1/pgrep.1* %attr(0644,root,root) %{_mandir}/man1/pkill.1* %attr(0644,root,root) %{_mandir}/man1/tload.1* %attr(0644,root,root) %{_mandir}/man1/top.1* %attr(0644,root,root) %{_mandir}/man1/uptime.1* %attr(0644,root,root) %{_mandir}/man1/w.1* %attr(0644,root,root) %{_mandir}/man1/watch.1* %attr(0644,root,root) %{_mandir}/man8/vmstat.8* %attr(0644,root,root) %{_mandir}/man8/sysctl.8* %attr(0644,root,root) %{_mandir}/man5/sysctl.conf.5* %files X11 %attr(0755,root,root) /usr/X11R6/bin/XConsole %changelog * Thu Apr 5 2001 Jakub Jelinek - fix AIX style user defined formats (#34833) * Thu Mar 22 2001 Bill Nottingham - add a '-e' to sysctl to ignore errors (#31852) * Mon Mar 5 2001 Preston Brown - bigger buffer for reading /proc/stat fixes segfault (#27840) * Thu Feb 1 2001 Preston Brown - make sysctl return a value when errors occur (#18820). - support big UIDs (#22683) * Mon Jan 22 2001 Helge Deller - work-around for negative CPU output (Bug #18380) * Thu Aug 17 2000 Than Ngo - fix failing in RPM post script (Bug #16226) * Wed Jul 26 2000 Michael K. Johnson - Added Jakub's locale patch * Fri Jul 14 2000 Michael K. Johnson - procps-2.0.7 - integrated all patches except for signames patch, which is broken and unnecessary - See NEWS for changes between 2.0.6 and 2.0.7 - Added patch to correctly install desktop file. Oops. * Wed Jul 12 2000 Prospector - automatic rebuild * Tue Jul 03 2000 Preston Brown - larger buffers for reading /proc/stat * Tue Jun 13 2000 Preston Brown - FHS paths * Tue May 30 2000 Preston Brown - add smp, signal name patches from VA Linux. Thanks guys. * Mon May 22 2000 Harald Hoyer - added sysctl.conf (5) man page * Wed May 10 2000 Bill Nottingham - fix PAGE_SIZE mismatch on ia64 * Sun May 7 2000 Bill Nottingham - rebuild with different optimizations for ia64 * Fri Mar 24 2000 Bernhard Rosenkraenzer - rebuild with current ncurses * Tue Mar 7 2000 Bill Nottingham - fix end-of-file behavior in sysctl * Mon Feb 07 2000 Preston Brown - wmconfig -> desktop * Mon Feb 7 2000 Jakub Jelinek - don't try to load System.map (and spit error messages if it does not exist) if ps or top are not going to use it, both to speed things up and remove the ugly messages when they don't make sense. - in top, print the possible error messages using standard top SHOWMESSAGE (because it will be now printed out when already in terminal mode). * Thu Feb 3 2000 Matt Wilson - added patch to prevent divide by zero on UltraSparc - gzip man pages