<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/nmon/patches/" rel="alternate"/><link href="https://sourceforge.net/p/nmon/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/nmon/patches/</id><updated>2025-08-05T16:03:29.290000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Minor modification of makefile to adapt it to Debian distribution</title><link href="https://sourceforge.net/p/nmon/patches/22/" rel="alternate"/><published>2025-08-05T16:03:29.290000Z</published><updated>2025-08-05T16:03:29.290000Z</updated><author><name>Emvivre</name><uri>https://sourceforge.net/u/emvivre/</uri></author><id>https://sourceforge.net70c7c1fb256a40c0694b509a71a90f3223448713</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Please find the following patch to adapt the makefile of njmon_linux_v84.zip in order to compile the project on a Debian distribution.&lt;br/&gt;
Best regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Request to support LoongArch ISA</title><link href="https://sourceforge.net/p/nmon/patches/21/" rel="alternate"/><published>2025-04-27T03:21:13.302000Z</published><updated>2025-04-27T03:21:13.302000Z</updated><author><name>Qi Liang</name><uri>https://sourceforge.net/u/std3lqi/</uri></author><id>https://sourceforge.nete8a9294c9e3a0293c3cdf2575ec907b89bfc3699</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The &lt;a class="" href="https://en.wikipedia.org/wiki/Loongson" rel="nofollow"&gt;LoongArch&lt;/a&gt; architecture is a RISC-style ISA developed by &lt;a class="" href="https://www.loongson.cn/" rel="nofollow"&gt;Loongson&lt;/a&gt;. I write to request nmon to support LoongArch ISA, so that nmon can collect data from LoongArch Linux easily. &lt;/p&gt;
&lt;p&gt;I did some investigation. Some code changes are required to show CPU information correctly in the Welcome view and Resource view, based on cpuinfo or lscpu output from Linux on LoongArch. The other functionalities like CPU utilization, memory, or disk seem working well.&lt;/p&gt;
&lt;p&gt;Before submitting the patch, I wonder your thoughts about this support request and any other I should update for a new ISA support.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#17 No more %%CPU in top process displays</title><link href="https://sourceforge.net/p/nmon/patches/17/?limit=25#4e86" rel="alternate"/><published>2022-12-08T10:04:39.859000Z</published><updated>2022-12-08T10:04:39.859000Z</updated><author><name>Nigel Griffiths</name><uri>https://sourceforge.net/u/nigelgriffiths/</uri></author><id>https://sourceforge.net2ed4ba067125c34618ec3813a6f4f39b771bab9e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This works on RHEL with GCC 10 and fails on Ubuntu with GCC 11.&lt;br/&gt;
As it is largely a cosmetic change, I am going to close the issue.&lt;br/&gt;
Thanks for reporting and working a fix but there are higher priorities.&lt;br/&gt;
Thanks Nigel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#17 No more %%CPU in top process displays</title><link href="https://sourceforge.net/p/nmon/patches/17/?limit=25#3451" rel="alternate"/><published>2022-12-07T18:00:13.802000Z</published><updated>2022-12-07T18:00:13.802000Z</updated><author><name>Nigel Griffiths</name><uri>https://sourceforge.net/u/nigelgriffiths/</uri></author><id>https://sourceforge.net71828ab7aaae144ddb9734c72af9688cac64de95</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This change fails to clean compile of Ubuntu with gcc 11 installed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#20 njmon2influx.py read njmon data error</title><link href="https://sourceforge.net/p/nmon/patches/20/?limit=25#64ca/68ed" rel="alternate"/><published>2022-11-16T03:05:39.836000Z</published><updated>2022-11-16T03:05:39.836000Z</updated><author><name>LiukeCode</name><uri>https://sourceforge.net/u/liukecode/</uri></author><id>https://sourceforge.netf2d4fcfe2d5a7dbeded43d3ee255cc30ab297a73</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#20 njmon2influx.py read njmon data error</title><link href="https://sourceforge.net/p/nmon/patches/20/?limit=25#64ca" rel="alternate"/><published>2022-11-15T10:25:57.147000Z</published><updated>2022-11-15T10:25:57.147000Z</updated><author><name>Nigel Griffiths</name><uri>https://sourceforge.net/u/nigelgriffiths/</uri></author><id>https://sourceforge.net38377a7d07729e078b0cda9e4b02f3dc40b3ba21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Use the -n option with njmon. &lt;br/&gt;
This switches off the  outputting of the process id, PID.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#20 njmon2influx.py read njmon data error</title><link href="https://sourceforge.net/p/nmon/patches/20/?limit=25#41c7" rel="alternate"/><published>2022-11-15T09:27:56.060000Z</published><updated>2022-11-15T09:27:56.060000Z</updated><author><name>LiukeCode</name><uri>https://sourceforge.net/u/liukecode/</uri></author><id>https://sourceforge.neteb92f3459acb7e24515bf5b8d4fc6f28b62c125a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;env: unbutu 22.10.&lt;br/&gt;
run the njmon, will echo the pid first, Causes script error.&lt;br/&gt;
add &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;#&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;line&lt;/span&gt;:&lt;span class="mi"&gt;241&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;isinstance&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;eval&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;line&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;dict&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;:&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;fixed&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>njmon2influx.py read njmon data error</title><link href="https://sourceforge.net/p/nmon/patches/20/" rel="alternate"/><published>2022-11-15T09:22:28.129000Z</published><updated>2022-11-15T09:22:28.129000Z</updated><author><name>LiukeCode</name><uri>https://sourceforge.net/u/liukecode/</uri></author><id>https://sourceforge.net0ad6264c69483699419facb46fbf9c7f59008d54</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;njmon -s 5 |python3 njmon2influx.py njmond.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;Traceback&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;most&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;recent&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;last&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;File&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"/root/njmon-tools/njmon2influx.py"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;240&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;module&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;inject_snapshot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;loads&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;File&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"/root/njmon-tools/njmon2influx.py"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;125&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;inject_snapshot&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;timestamp&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;sample&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="s2"&gt;"UTC"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="n"&gt;TypeError&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'int'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;object&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;subscriptable&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#13 nmonmerge2 doesn´t compile on debian 9.11</title><link href="https://sourceforge.net/p/nmon/patches/13/?limit=25#7e2c" rel="alternate"/><published>2022-11-14T22:00:29.670000Z</published><updated>2022-11-14T22:00:29.670000Z</updated><author><name>Nigel Griffiths</name><uri>https://sourceforge.net/u/nigelgriffiths/</uri></author><id>https://sourceforge.nete2c3bc9635044b550dc5f8723e2943e621fe4500</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#17 No more %%CPU in top process displays</title><link href="https://sourceforge.net/p/nmon/patches/17/?limit=25#2e7e" rel="alternate"/><published>2022-11-14T21:53:52.033000Z</published><updated>2022-11-14T21:53:52.033000Z</updated><author><name>Nils Smeds</name><uri>https://sourceforge.net/u/nsmeds/</uri></author><id>https://sourceforge.net4e03766974f3b55c8c0a4ed46df26bb07474c08a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Where do you see it written as just %CPU and not %%CPU?&lt;br/&gt;
I don't think I have seen it. If this really is a problem I guess one could  keep the %% &lt;br/&gt;
and change the call to ncurses?&lt;br/&gt;
From&lt;br/&gt;
                    CURSE mvwprintw(padtop, 1, y, "%s", formatstring);&lt;br/&gt;
To&lt;br/&gt;
                    CURSE mvwprintw(padtop, 1, y, formatstring, NULL);&lt;br/&gt;
Would that work do you think?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>