* bugfixes
will not fit on-scree.
HAMA servers) and small fixes
snprintf/strncpy.
* POWER pool_capacity now correctly divided by 100.
* Online view POWER Welcome panel on POWER reports the top MHz
Small changes only:
mode with "-J"
stats (m)
* Boottime shown online in the Kernel "k" panel
* Utilisation stats: /proc/stat now reports 10 Utilisation stats
* Bug caused Seg Faults core dumps fixed while collecting to a
* Fix: Improved memory handling for extreme numbers of processes
(1000's) or rapid exec of processes (100's in a millisecond)
for large Linux servers. We have examples on Intel of 80 CPU
* Online Dot "." command no longer also changes what is displayed
as users said it was confusing.
* Minor online start-up flash screen text changes to include C
concise CPU stats and U for full Utilisation stats (all 10 of
them) instead of a file.
* Copyright and GPL v3 notice in the code plus online "h" and
* Source code re-indented.
* Fixes for Welcome screen on Mainframe
* Fixed for Curses handling when collecting data to file - big
bug for main frame and x86.
* Fixes for Welcome screen on Mainframe
* Fixed for Curses handling when collecting data to file - big
bug for main frame and x86.
+ You need a S822LC With NVIDIA GPU(s) and Nvidia Library
OBS-URL: https://build.opensuse.org/package/show/network:utilities/nmon?expand=0&rev=38
104 lines
3.2 KiB
RPMSpec
104 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package nmon
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
# Copyright (c) 2011-2013 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: nmon
|
|
Version: 16q
|
|
Release: 0
|
|
Summary: Performance Monitor
|
|
License: GPL-3.0-only
|
|
URL: https://nmon.sourceforge.io/pmwiki.php
|
|
Source0: https://sourceforge.net/projects/nmon/files/lmon%{version}.c
|
|
Source1: https://www.gnu.org/licenses/gpl-3.0.txt
|
|
BuildRequires: ncurses-devel
|
|
Provides: lmon = %{version}
|
|
|
|
%description
|
|
This systems administrator, tuner, benchmark tool gives you a huge amount of
|
|
important performance information in one go. It can output the data in two ways
|
|
|
|
1. On screen (console, telnet, VNC, putty or X Windows) using curses for low
|
|
CPU impact which is updated once every two seconds. You hit single characters
|
|
on you keyboard to enable/disable the various sorts of data.
|
|
* You 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.
|
|
2. Save the data to a comma separated file for analysis and longer term data
|
|
capture.
|
|
* Use this together with nmon Analyser Excel 2000 spreadsheet, which loads
|
|
the nmon output file and automatically creates dozens of graphs ready for
|
|
you to study or write performance reports.
|
|
* Filter this data, add it to a rrd database (using an excellent freely
|
|
available utility called rrdtool). This graphs the data to .gif or .png
|
|
files plus generates the webpage .html file and you can then put the
|
|
graphs directly on a website automatically on AIX with no need of a
|
|
Windows based machine.
|
|
* Directly put the data into a rrd database or other database for your own
|
|
analysis
|
|
|
|
%prep
|
|
%setup -q -T -c %{name}-%{version}
|
|
|
|
%build
|
|
export CFLAGS="%{optflags} \
|
|
-fPIE \
|
|
-D JFS \
|
|
-D GETUSER \
|
|
-D LARGEMEM \
|
|
-D KERNEL_2_6_18 \
|
|
%if !0%{?is_opensuse}
|
|
-D SLES12 \
|
|
%endif
|
|
%{SOURCE0}"
|
|
export LDFLAGS="-o nmon \
|
|
-lncurses \
|
|
-lm \
|
|
-Wl,--as-needed \
|
|
-Wl,--no-undefined \
|
|
-Wl,-z,relro,-z,now \
|
|
-pie"
|
|
%ifarch ppc ppc64 ppc64le
|
|
cc $CFLAGS -D PPC \
|
|
$LDFLAGS
|
|
%endif
|
|
%ifarch s390x
|
|
cc $CFLAGS -D MAINFRAME \
|
|
$LDFLAGS
|
|
%endif
|
|
%ifarch %{arm} aarch64
|
|
cc $CFLAGS -D ARM \
|
|
$LDFLAGS
|
|
%endif
|
|
%ifarch %{ix86} x86_64
|
|
cc $CFLAGS -D X86 \
|
|
$LDFLAGS
|
|
%endif
|
|
|
|
%install
|
|
install -Dpm 0755 nmon \
|
|
%{buildroot}%{_bindir}/nmon
|
|
ln -s nmon %{buildroot}%{_bindir}/lmon
|
|
cp %{SOURCE1} LICENSE.GPL-3.0
|
|
|
|
%files
|
|
%license LICENSE.GPL-3.0
|
|
%{_bindir}/nmon
|
|
%{_bindir}/lmon
|
|
|
|
%changelog
|