SHA256
5
0
forked from pool/nmon

4 Commits

Author SHA256 Message Date
031ccfb27f Accepting request 1303197 from network:utilities
- add nmon-incrase-cpumax-to-support-2048-cpus.patch (bsc#1247368)

OBS-URL: https://build.opensuse.org/request/show/1303197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nmon?expand=0&rev=16
2025-09-09 18:30:03 +00:00
f8da1c01f6 - add nmon-incrase-cpumax-to-support-2048-cpus.patch (bsc#1247368)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/nmon?expand=0&rev=40
2025-09-08 12:25:41 +00:00
4e8f804869 Accepting request 1244407 from network:utilities
- update to 16q:
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1244407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nmon?expand=0&rev=15
2025-02-09 19:07:10 +00:00
8b08333277 - update to 16q:
* 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
2025-02-08 21:13:06 +00:00
3 changed files with 27 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
From: Seeteena Thoufeek <s1seetee@linux.vnet.ibm.com>
Subject: [PATCH] lmon16q.c: increase CPUMAX to support up to 2048 CPUs
nmon currently fails on systems with high CPU counts due to a low CPUMAX setting.
This patch increases the CPUMAX value to support systems with up to 2048 CPUs.
--- a/lmon16q.c 2025-07-03 16:48:03.567956477 +0530
+++ b/lmon16q.c 2025-07-03 16:53:33.641940838 +0530
@@ -1443,7 +1443,7 @@
/* Supports up to 780, but not POWER6 595 follow-up with POWER7 */
/* XXXX needs rework to cope to with fairly rare but interesting higher numbers of CPU machines */
-#define CPUMAX (192 * 8) /* MAGIC COOKIE WARNING */
+#define CPUMAX (256 * 8) /* MAGIC COOKIE WARNING */
struct data {
struct dsk_stat *dk;

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 8 12:24:55 UTC 2025 - Dirk Müller <dmueller@suse.com>
- add nmon-incrase-cpumax-to-support-2048-cpus.patch (bsc#1247368)
-------------------------------------------------------------------
Sat Feb 8 21:10:01 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package nmon
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2011-2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -25,6 +25,7 @@ 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
Patch1: nmon-incrase-cpumax-to-support-2048-cpus.patch
BuildRequires: ncurses-devel
Provides: lmon = %{version}
@@ -53,6 +54,8 @@ important performance information in one go. It can output the data in two ways
%prep
%setup -q -T -c %{name}-%{version}
install -m 644 %{SOURCE0} lmon%{version}.c
%autopatch -p1
%build
export CFLAGS="%{optflags} \
@@ -64,7 +67,7 @@ export CFLAGS="%{optflags} \
%if !0%{?is_opensuse}
-D SLES12 \
%endif
%{SOURCE0}"
lmon%{version}.c"
export LDFLAGS="-o nmon \
-lncurses \
-lm \