Summary: System and process monitoring utilities. Name: procps Version: 3.2.7 Release: 2%{?_dist_release} License: GPL Group: Applications/System Source: http://procps.sourceforge.net/procps-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires(post): /sbin/ldconfig, /bin/rm Requires(postun): /sbin/ldconfig Obsoletes: procps-X11, pgrep Patch4: procps-3.1.15-misc.patch # Vine patches Patch10: procps-3.2.0-make_install.patch Patch20: procps-3.2.7-gettext.patch BuildRequires: ncurses-devel Vendor: Project Vine Distribution: Vine Linux %description The procps package contains a set of system utilities that 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 are 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 ja システムの状態を知るためのユーティリティ集です. 実行中のプロセス, 使用 可能なメモリ容量, 現在ログインしているユーザの情報等を得ることができます. %prep %setup -q %patch4 -p1 -b .misc # vine %patch10 -p1 -b .mkinst %patch20 -p1 -b .gettext %build PATH=/usr/X11R6/bin:$PATH %__make %{?_smp_mflags} CC="gcc $RPM_OPT_FLAGS" MANDIR=%{_mandir} W_SHOWFROM=-DW_SHOWFROM lib64=%{_lib} (cd po; %__make) %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 ldconfig="/bin/true" DESTDIR=%{buildroot} SHLIBDIR=%{buildroot}/%{_lib} OWNERGROUP= MANDIR=%{_mandir} lib64=%{_lib} install (cd po; %makeinstall) %find_lang %{name} # Remove unpackaged files: rm -f %{buildroot}/bin/kill rm -f %{buildroot}%{_mandir}/man1/kill.1* %clean rm -rf %{buildroot} %post # add libproc to the cache /sbin/ldconfig # remove obsolete files rm -f /etc/psdevtab /etc/psdatabase %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(0644,root,root,755) %doc NEWS BUGS TODO %attr(755,root,root) /%{_lib}/libproc* %attr(555,root,root) /bin/ps %attr(555,root,root) /sbin/sysctl %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 %attr(555,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(555,root,root) /usr/bin/pmap %attr(555,root,root) /usr/bin/slabtop %attr(555,root,root) /usr/bin/pwdx %attr(0644,root,root) %{_mandir}/man1/free.1* %attr(0644,root,root) %{_mandir}/man1/ps.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/pmap.1* %attr(0644,root,root) %{_mandir}/man1/pwdx.1* %attr(0644,root,root) %{_mandir}/man1/slabtop.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* %changelog * Thu Apr 30 2009 Daisuke SUZUKI 3.2.7-2 - spec in utf-8 * Thu Apr 24 2008 Daisuke SUZUKI 3.2.7-1 - new upstream release * Wed Sep 20 2006 IWAI, Masaharu 3.2.6-0vl3 - [BTS:205] update ja.po ( in Patch20 ) * Tue Feb 14 2006 KANEKO Seiji 3.2.6-0vl2 - add Obsoletes: pgrep * Sun Feb 5 2006 KANEKO Seiji 3.2.6-0vl1 - upstream release - update Patch20 - fix encode of spec file (SJIS -> EUC-JP) - add pwdx command (new from 3.2.4) * Thu Feb 10 2005 Daisuke SUZUKI 3.2.5-0vl3 - update gettext patch * Thu Feb 10 2005 Daisuke SUZUKI 3.2.5-0vl2 - add gettext patch (Patch20) still needs more work ( only for "free" and "uptime" ) * Sun Feb 06 2005 Daisuke SUZUKI 3.2.5-0vl1 - new upstream release * Thu Apr 02 2004 KOBAYASHI R. Taizo 3.2.0-1vl1 - modified for Vine - add obsoletes -X11 package * Tue Feb 24 2004 Dan Walsh 3.2.0-1 - New version from upstream * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Jan 22 2004 Dan Walsh 3.1.15-3 - Match -Z to --context * Wed Jan 21 2004 Dan Walsh 3.1.15-2 - Add back in -Z support * Wed Jan 21 2004 Alexander Larsson 3.1.15-1 - upgrade to procps3 - Some regressions, see bug #114012 * Tue Jan 20 2004 Dan Walsh 2.0.17-7 - Remove LIBCURSES from skill and sysctl * Wed Dec 10 2003 Dan Walsh 2.0.17-6 - Turn on SELinux * Mon Dec 8 2003 Alexander Larsson 2.0.17-5 - Fix top total percentages (#109484) * Wed Oct 15 2003 Dan Walsh 2.0.17-4 - Turn off selinux * Wed Oct 15 2003 Dan Walsh 2.0.17-3.sel - Fix help message * Thu Oct 9 2003 Dan Walsh 2.0.17-2.sel - Turn on selinux * Fri Oct 3 2003 Alexander Larsson 2.0.17-1 - Update to 2.0.17, drop upstream patches, forward port remaining patches * Fri Sep 5 2003 Dan Walsh 2.0.13-11 - Turn off selinux * Thu Aug 28 2003 Dan Walsh 2.0.13-10.sel - Add -Z switch for SELinux * Sun Aug 17 2003 Doug Ledford 2.0.13-9E - Add patch to recognize irq and softirq time accounting in kernels that support this feature * Mon Aug 11 2003 Alexander Larsson 2.0.13-8 - rebuild * Mon Aug 11 2003 Alexander Larsson 2.0.13-7E - Add swapped patch from rik van riel * Wed Aug 6 2003 Alexander Larsson 2.0.13-6 - rebuild * Wed Aug 6 2003 Alexander Larsson 2.0.13-5E - Update iowait patch (#101657) - Add wchan 64bit patch from Mark DeWandel * Mon Jul 28 2003 Dan Walsh 2.0.13-4E - Add SELinux patch * Wed Jul 16 2003 Matt Wilson 2.0.13-3E - display iowait with procps-2.0.13-iowait.patch (#99061) * Fri Jul 11 2003 Alexander Larsson 2.0.13-2E - Disable linuxthreads thread hack * Mon Jul 7 2003 Alexander Larsson 2.0.13-1E - rebuild * Fri Jul 4 2003 Alexander Larsson 2.0.13-1 - update to 2.0.13 - Re-merged ntpl patch - Add hertz fix from Ernie Petrides * Wed Jun 04 2003 Elliot Lee - rebuilt * Fri May 23 2003 Alexander Larsson 2.0.12-1 - Update to 2.0.12 - Add patch to fix segfault on ps axl (#91453) * Fri Mar 14 2003 Alexander Larsson 2.0.11-7 - Add patch that fixes negative priorities in top. * Thu Feb 20 2003 Alexander Larsson 2.0.11-6 - New NPTL patch: - Added skipthreads optimization to top - Don't read threads in 'w' * Thu Feb 20 2003 Alexander Larsson 2.0.11-5 - Update the NPTL patch since the kernel /proc was fixed - For kernels >= 2.4.20-2.50 * Mon Feb 17 2003 Alexander Larsson 2.0.11-4 - Update nptl patch to new /proc layout. * Wed Jan 22 2003 Tim Powers 2.0.11-3 - rebuilt * Wed Jan 22 2003 Alexander Larsson 2.0.11-2 - Created nptl patch after discussion with ingo and arjan * Tue Jan 21 2003 Alexander Larsson 2.0.11-1 - Update to 2.0.11 * Mon Dec 16 2002 Elliot Lee 2.0.10-4 - Fix %%install in changelog * Tue Nov 19 2002 Jakub Jelinek 2.0.10-3 - Fix for Hammer * Wed Oct 23 2002 Alexander Larsson 2.0.10-2 - Remove uninstalled files in %%install. Add pmap to %%files * Tue Oct 8 2002 Alexander Larsson 2.0.10-1 - Update to 2.0.10 - Removed applied patches. * Mon Aug 12 2002 Alexander Larsson 2.0.7-25 - Add patch to protect against idle ticks going backwards. Fixes #71237 * Thu Aug 8 2002 Alexander Larsson 2.0.7-24 - Fix saving of sort, fixes #32757 - Fix printing size, fixes #48224 - Fix float decimal point input #58163 * Thu Aug 8 2002 Alexander Larsson 2.0.7-23 - Fix unsigned/signed bug. Closes #60998. - Update threadbadhack to correctly propagate process time to the main thread. * Wed Aug 7 2002 Alexander Larsson 2.0.7-22 - Don't strip binaries * Fri Jul 12 2002 Alexander Larsson 2.0.7-21 - Remove the X11 subpackage * Mon Jul 1 2002 Alexander Larsson 2.0.7-19 - Added patch that fixes #35174 * Wed Jun 26 2002 Alexander Larsson 2.0.7-18 - New thread badhack patch. Fixes a segfault. * Mon Jun 24 2002 Alexander Larsson 2.0.7-16 - New thread badhack. Now enabled by default. * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu Jun 20 2002 Alexander Larsson 2.0.7-14 - Added badhack to support hiding threads * Thu May 23 2002 Tim Powers - automated rebuild * Mon Apr 15 2002 Bill Nottingham 2.0.7-12 - add ldconfig in %postun * Mon Aug 27 2001 Trond Eivind Glomsr藷? 2.0.7-11 - Add ncurses-devel as a build dependency (#49562) * Sat Jul 21 2001 Tim Powers - removed applnk entry, one of the things that's cluttering our menus * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * 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