📄 ifstat.spec
字号:
# Time-stamp: <01/12/25 14:04:41 ifstat.spec wbosse@berlin.snafu.de># $Id: ifstat.spec,v 1.9 2004/01/01 19:16:59 gael Exp $Name: ifstatSummary: InterFace STATisticsVersion: 1.1Release: 1Group: ApplicationsCopyright: GPLVendor: Ga雔 Roualland <gael.roualland@dial.oleane.com>URL: http://gael.roualland.free.fr/ifstat/Packager: Werner Bosse <wbosse@berlin.snafu.de>Source0: %{name}-%{version}.tar.gzBuildRoot: %{_tmppath}/%{name}-%{version}-buildrootRequires: ucd-snmpBuildPrereq: ucd-snmp-devel%descriptionifstat(1) is a little tool to report interface activity like vmstat/iostat do.In addition, ifstat can poll remote hosts through SNMP if you have the ucd-snmplibrary. It will also be used for localhost if no other known method works (Youneed to have snmpd running for this though).See also %{_docdir}/%{name}-%{version}%changelog* %(echo `LC_ALL=C date '+%a %b %d %Y'`) %(whoami)@%(hostname)- built %{version} on %(cat /etc/*-release | head -1)* Tue Dec 25 2001 Werner Bosse <wbosse@berlin.snafu.de>- initialization of spec file.%prep%setup -q./configure --prefix=%{_prefix} --enable-optim%buildmake %installrm -rf $RPM_BUILD_ROOTmake prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc README INSTALL TODO COPYING HISTORY%{_bindir}/*%{_mandir}/man*/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -