Toshaan Bharvani
3 years ago
commit
fceda01e06
2 changed files with 134 additions and 0 deletions
@ -0,0 +1,47 @@
@@ -0,0 +1,47 @@
|
||||
.TH NMON "1" "August 2009" "nmon " "User Commands" |
||||
.SH NAME |
||||
nmon \- systems administrator, tuner, benchmark tool. |
||||
.SH DESCRIPTION |
||||
This manual page documents briefly the |
||||
.B nmon |
||||
command. |
||||
This manual page was written for the Debian distribution |
||||
because the original program does not have a manual page. |
||||
.PP |
||||
\fBnmon\fP is is a systems administrator, tuner, benchmark tool. |
||||
It can display the CPU, memory, network, disks (mini graphs or numbers), |
||||
file systems, NFS, top processes, resources (Linux version & processors) and |
||||
on Power micro-partition information. |
||||
.SH OPTIONS |
||||
.B nmon |
||||
follow the usual GNU command line syntax, with long |
||||
options starting with two dashes (`-'). |
||||
nmon [\-h] [\-s <seconds>] [\-c <count>] [\-f \fB\-d\fR <disks> \fB\-t\fR \fB\-r\fR <name>] [\-x] |
||||
A summary of options is included below. |
||||
.TP |
||||
\fB\-h\fR |
||||
FULL help information |
||||
.IP |
||||
Interactive\-Mode: |
||||
read startup banner and type: "h" once it is running |
||||
For Data\-Collect\-Mode (\fB\-f\fR) |
||||
.TP |
||||
\fB\-f\fR spreadsheet output format [note: default \fB\-s300\fR \fB\-c288]\fR |
||||
optional |
||||
.TP |
||||
\fB\-s\fR <seconds> between refreshing the screen [default 2] |
||||
.TP |
||||
\fB\-c\fR <number> of refreshes [default millions] |
||||
.TP |
||||
\fB\-d\fR <disks> to increase the number of disks [default 256] |
||||
.TP |
||||
\fB\-t\fR spreadsheet includes top processes |
||||
.TP |
||||
\fB\-x\fR capacity planning (15 min for 1 day = \fB\-fdt\fR \fB\-s\fR 900 \fB\-c\fR 96) |
||||
.PP |
||||
.SH AUTHOR |
||||
nmon was written by Nigel Griffiths <nag@uk.ibm.com> |
||||
.PP |
||||
This manual page was written by Giuseppe Iuculano <giuseppe@iuculano.it>, |
||||
for the Debian project (but may be used by others). |
||||
|
@ -0,0 +1,87 @@
@@ -0,0 +1,87 @@
|
||||
Name: nmon |
||||
Version: 16n |
||||
Release: 1%{?dist} |
||||
Summary: Nigel's performance Monitor for Linux |
||||
License: GPLv3 |
||||
URL: http://nmon.sourceforge.net |
||||
Source0: http://downloads.sourceforge.net/%{name}/lmon%{version}.c |
||||
Source1: http://downloads.sourceforge.net/%{name}/Documentation.txt |
||||
# Manpage available from the patch archive: |
||||
# http://sourceforge.net/tracker/?func=detail&aid=2833213&group_id=271307&atid=1153693 |
||||
Source2: %{name}.1 |
||||
BuildRequires: ncurses-devel |
||||
|
||||
|
||||
%description |
||||
nmon is a systems administrator, tuner, benchmark tool, which provides |
||||
information about CPU, disks, network, etc., all in one view. |
||||
|
||||
|
||||
%prep |
||||
%setup -T -c -n %{name} |
||||
sed -e "s/\r//" %{SOURCE1} > Documentation.txt |
||||
touch -c -r %{SOURCE1} Documentation.txt |
||||
cp %{SOURCE0} . |
||||
|
||||
|
||||
%build |
||||
%{__cc} \ |
||||
%{optflags} \ |
||||
-D JFS \ |
||||
-D GETUSER \ |
||||
-D LARGEMEM \ |
||||
%ifarch ppc64 ppc64le |
||||
-D POWER \ |
||||
%endif |
||||
%ifarch x86_64 |
||||
-D X86 \ |
||||
%endif |
||||
-D RHEL7 \ |
||||
-D KERNEL_2_6_18 \ |
||||
-lncurses -Wall -g -lm lmon%{version}.c -o %{name} |
||||
|
||||
|
||||
%install |
||||
install -D -p -m 0755 %{name} %{buildroot}%{_bindir}/%{name} |
||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/%{name}.1 |
||||
|
||||
|
||||
%files |
||||
%doc Documentation.txt |
||||
%{_mandir}/man1/%{name}.1.* |
||||
%{_bindir}/%{name} |
||||
|
||||
|
||||
%changelog |
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14i-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14i-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Tue Aug 13 2013 Palle Ravn <ravnzon@gmail.com> - 14i-6 |
||||
- Update to version 14i |
||||
- GCC options modified for x86 |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14h-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Thu Jul 18 2013 Palle Ravn <ravnzon@gmail.com> 14h-4 |
||||
- Update to version 14h |
||||
|
||||
* Mon Mar 18 2013 Palle Ravn <ravnzon@gmail.com> 14g-3 |
||||
- Streamline download links |
||||
- Include manpage from sourceforges patch section |
||||
- No longer mark manpage as %%doc |
||||
- Only handle manpage in %%install |
||||
|
||||
* Fri Mar 1 2013 Palle Ravn <ravnzon@gmail.com> 14g-2 |
||||
- Add name macro to source links |
||||
- Add name macro to compile and install commands |
||||
- Add support for PowerPC compilation |
||||
- Remove redundant compile flags |
||||
- Changed to arbitrary manpage compression |
||||
- Preserve timestamps of Source1 |
||||
|
||||
* Mon Feb 25 2013 Palle Ravn <ravnzon@gmail.com> 14g-1 |
||||
- Initial package |
Loading…
Reference in new issue