📄 procps.spec
字号:
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: 1Copyright: GPLGroup: Applications/SystemSource: ftp://people.redhat.com/johnsonm/procps/procps-%{version}.tar.gzBuildRoot: /var/tmp/procps-root%package X11Group: Applications/SystemSummary: X based process monitoring utilities.%descriptionThe procps package contains a set of system utilities which providesystem information. Procps includes ps, free, skill, snice,tload, top, uptime, vmstat, w, and watch. The ps command displaysa snapshot of running processes. The top command provides arepetitive update of the statuses of running processes. The freecommand displays the amounts of free and used memory on your system.The skill command sends a terminate command (or anotherspecified signal) to a specified set of processes. The snicecommand is used to change the scheduling priority of specifiedprocesses. The tload command prints a graph of the current systemload average to a specified tty. The uptime command displays thecurrent time, how long the system has been running, how many usersare logged on and system load averages for the past one, five andfifteen minutes. The w command displays a list of the users whoare currently logged on and what they're running. The watch programwatches a running program. The vmstat command displays virtualmemory statistics about processes, memory, paging, block I/O, trapsand CPU activity.%description X11The procps-X11 package contains the XConsole shell script, a backwardscompatibility wrapper for the xconsole program.%prep%setup%buildPATH=/usr/X11R6/bin:$PATHmake CC="gcc $RPM_OPT_FLAGS" LDFLAGS=-s%installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/bin $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/sbinmkdir -p $RPM_BUILD_ROOT/usr/man/man1 $RPM_BUILD_ROOT/usr/man/man8mkdir -p $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/usr/X11R6/binmake DESTDIR=$RPM_BUILD_ROOT OWNERGROUP= MANDIR=/usr/share/man install%cleanrm -rf $RPM_BUILD_ROOT%post# add libproc to the cache/sbin/ldconfig# remove obsolete filesrm -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%attr(555,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%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(0644,root,root) /usr/man/man1/free.1%attr(0644,root,root) /usr/man/man1/ps.1%attr(0644,root,root) /usr/man/man1/oldps.1%attr(0644,root,root) /usr/man/man1/skill.1%attr(0644,root,root) /usr/man/man1/snice.1%attr(0644,root,root) /usr/man/man1/tload.1%attr(0644,root,root) /usr/man/man1/top.1%attr(0644,root,root) /usr/man/man1/uptime.1%attr(0644,root,root) /usr/man/man1/w.1%attr(0644,root,root) /usr/man/man1/watch.1%attr(0644,root,root) /usr/man/man1/pgrep.1%attr(0644,root,root) /usr/man/man1/pkill.1%attr(0644,root,root) /usr/man/man8/vmstat.8%attr(0644,root,root) /usr/man/man8/sysctl.8%files X11%attr(0755,root,root) /usr/X11R6/bin/XConsole
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -