Recent Changes - Search:

Home Page



Other tools


edit SideBar

CompilingNmon

Main.CompilingNmon History

Hide minor edits - Show changes to markup

May 20, 2016, at 12:02 PM by 127.0.0.1 -
Changed lines 30-31 from:

3) Full Disk stats - started with capital D is now in colour too. ||

to:

3) Full Disk stats - started with capital D is now in colour too.
4) Add "m" after a memory sizes, when the numbers get too large for the column widths to highlight KB are now MB ||

May 20, 2016, at 11:00 AM by 127.0.0.1 -
Changed lines 16-17 from:
  • Released 7th April 2016 - Major update. If not here then Sourceforge playing games again, get it directly from Sourceforge nmon for Linux project
  • Released 17th May 2016 - Minor update for the on-screen mode only - I would not upgrade from 16e, if your primary use is data capture.
to:
  • 16e Released 7th April 2016 - Major update. If not here then Sourceforge playing games again, get it directly from Sourceforge nmon for Linux project
  • 16f Released 17th May 2016 - Minor update for the on-screen mode only - I would not upgrade from 16e, if your primary use is data capture.
May 20, 2016, at 10:59 AM by 127.0.0.1 -
Changed lines 15-16 from:

Current Version 16e

  • Released 7th April 2016 - at the Sourceforge nmon for Linux project
to:

Current Version 16e and 16f

  • Released 7th April 2016 - Major update. If not here then Sourceforge playing games again, get it directly from Sourceforge nmon for Linux project
  • Released 17th May 2016 - Minor update for the on-screen mode only - I would not upgrade from 16e, if your primary use is data capture.
Changed lines 22-31 from:
lmon16e.cNew function and bug fixes (7th July 2016): \\
to:
lmon16f.cNew function and bug fixes (19th May 2016):
1) On-screen Top Process stats the count of the number of running processes now works again. See top line Procs=321
2) On-screen Top Process stats (after user feedback) has been colourised in to related columns in all its modes
* mode 1 - In CPU order the process PID, parent PID, Nice, priority, faults, F= Foreground (attached to a terminal) and command
* mode 3 - normal CPU order view with process CPU, program on disk Size, process in memory sizes, faults and command
* mode 4 - as 3 but in memory size order
* mode 5 - as 3 but in I/O order include read/write stats - Note: only work if you are root due to wacko file permissions in /proc
* mode u - this lists lots more details of the actual command line i.e. the arguments
3) Full Disk stats - started with capital D is now in colour too.
lmon16e.cNew function and bug fixes (7th April 2016): \\
April 25, 2016, at 10:12 PM by 127.0.0.1 -
Changed line 17 from:
to:
Changed line 21 from:
lmon16e.cNew function and bug fixes (7th July 2016): \\
to:
lmon16e.cNew function and bug fixes (7th July 2016): \\
Changed lines 23-25 from:

like: 02:35 PM 12-Jan-2016 and in the nmon file as AAA,boottime,02:35 PM 12-Jan-2016
2) Utilisation stats: /proc/stat now reports 10 Utilisation stats including KVM guest VM CPU use = cool.
But Guess what? ALL 10 don't add up to 100% and it is not documented.\\

to:

like: 02:35 PM 12-Jan-2016 and in the nmon file as AAA,boottime,02:35 PM 12-Jan-2016
2) Utilisation stats: /proc/stat now reports 10 Utilisation stats including KVM guest VM CPU use = cool.
But Guess what? ALL 10 don't add up to 100% and it is not documented. \\

Changed lines 27-30 from:

as user processes) AND reported separately in addition in the guest and guest_nice values.
Fixed the reporting of these numbers online but still learning.
The nmon file reports just the stats so you have to realise which add up to 100%
3) Bug caused Seg Faults core dumps fixed while collecting to a file including top process stats.\\

to:

as user processes) AND reported separately in addition in the guest and guest_nice values.
Fixed the reporting of these numbers online but still learning.
The nmon file reports just the stats so you have to realise which add up to 100%
3) Bug caused Seg Faults core dumps fixed while collecting to a file including top process stats. \\

Changed line 32 from:

(100's in a millisecond) for large Linux servers. We have examples on Intel of 80 CPU cores and POWER 160+\\

to:

(100's in a millisecond) for large Linux servers. We have examples on Intel of 80 CPU cores and POWER 160+ \\

Changed line 35 from:

nothing are filters out.\\

to:

nothing are filters out. \\

Changed line 37 from:

Utilisation stats (all 10 of them)\\

to:

Utilisation stats (all 10 of them) \\

Changed lines 39-42 from:

To do this use:
nmon -F stdout <followed by your regular options>
like
./nmon-F stdout -s1 -c 10 -U| grep CPUUTIL_ALL\\

to:

To do this use:
nmon -F stdout <followed by your regular options>
like
./nmon-F stdout -s1 -c 10 -U| grep CPUUTIL_ALL \\

Changed line 44 from:

cause pipe issues with specific commands. Feedback welcome.\\

to:

cause pipe issues with specific commands. Feedback welcome. \\

April 25, 2016, at 09:48 AM by 127.0.0.1 -
Changed line 9 from:
  1. Hard link the latest C source code file to the filename lnom.c (lmon.c is used in the makefile)
to:
  1. Hard link the latest C source code file to the filename lmon.c (lmon.c is used in the makefile)
April 25, 2016, at 08:43 AM by 127.0.0.1 -
Added lines 14-16:

Current Version 16e

  • Released 7th April 2016 - at the Sourceforge nmon for Linux project
April 09, 2016, at 05:05 PM by 127.0.0.1 -
Changed line 1 from:

nmon for Linux - Compiling the Source Code

to:

nmon for Linux - Compiling from the Source Code

April 09, 2016, at 05:03 PM by 127.0.0.1 -
Changed lines 4-6 from:

nmon is pretty simple to compile - the whole thing takes no more than 3 minutes if you have your distro OS DVD media online:

to:

nmon is pretty simple to compile - the whole thing takes no more than 3 minutes if you have your distro OS DVD media online:

Changed line 18 from:
lmon16e.cNew function and bug fixes (7th July 2016): \\
to:
lmon16e.cNew function and bug fixes (7th July 2016): \\
April 09, 2016, at 05:02 PM by 127.0.0.1 -
Changed lines 4-5 from:

nmon is pretty simple to compile - the whole thing takes no more than 3 minutes if you have your distro OS DVD media online:

to:

nmon is pretty simple to compile - the whole thing takes no more than 3 minutes if you have your distro OS DVD media online:

April 09, 2016, at 05:02 PM by 127.0.0.1 -
Changed line 18 from:
lmon16e.cNew function and bug fixes (7th July 2016): \\
to:
lmon16e.cNew function and bug fixes (7th July 2016): \\
April 07, 2016, at 12:13 PM by 127.0.0.1 -
Changed line 18 from:
lmon16e.cNew function and bug fixes: \\
to:
lmon16e.cNew function and bug fixes (7th July 2016): \\
April 07, 2016, at 12:06 PM by 127.0.0.1 -
Added lines 18-42:
lmon16e.cNew function and bug fixes:
1) Boottime shown online in the Kernel "k" panel
like: 02:35 PM 12-Jan-2016 and in the nmon file as AAA,boottime,02:35 PM 12-Jan-2016
2) Utilisation stats: /proc/stat now reports 10 Utilisation stats including KVM guest VM CPU use = cool.
But Guess what? ALL 10 don't add up to 100% and it is not documented.
KVM guest CPU use is reported in the KVM host total User and Kernel time (guest virtual machines are seen
as user processes) AND reported separately in addition in the guest and guest_nice values.
Fixed the reporting of these numbers online but still learning.
The nmon file reports just the stats so you have to realise which add up to 100%
3) Bug caused Seg Faults core dumps fixed while collecting to a file including top process stats.
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 cores and POWER 160+
4) Online Dot "." command no longer also changes what is displayed as users said it was confusing.
You switch on Top processes "t" and disks "d" then if you type dot "." then processes or disks doing
nothing are filters out.
5) Minor online start-up flash screen text changes to include C concise CPU stats and U for full
Utilisation stats (all 10 of them)
6) Some people what nmon data to be written on the standard output stream instead of a file.
To do this use:
nmon -F stdout <followed by your regular options>
like
./nmon-F stdout -s1 -c 10 -U| grep CPUUTIL_ALL
Warning: this is a little experimental as nmon still closes stdin and stderr streams which can
cause pipe issues with specific commands. Feedback welcome.
7) Copyright and GPL v3 notice in the code plus online "h" and nmon -h output
March 17, 2016, at 11:37 AM by 127.0.0.1 -
Changed lines 19-20 from:

a) fix to online Welcome screen
b) fix to curses handling that cause one distro to core dump ||

to:

a) fix to online Welcome screen + added Mainframe details
b) fix to curses handling that caused one distro on one platform to core dump ||

March 17, 2016, at 11:36 AM by 127.0.0.1 -
Added lines 18-20:
lmon16d.cTiny Changes:
a) fix to online Welcome screen
b) fix to curses handling that cause one distro to core dump
January 15, 2016, at 04:48 PM by 127.0.0.1 -
Changed line 20 from:

b) adding ifdef ARM for Raspberry Pi2: \\

to:

b) adding #ifdef ARM for Raspberry Pi2 - even runs Ubuntu Mate now \\

January 15, 2016, at 04:48 PM by 127.0.0.1 -
Changed line 21 from:

c) running indent -kr -l200 to improve readability ]]

to:

c) running indent -kr -l200 to improve readability ||

January 15, 2016, at 04:47 PM by 127.0.0.1 -
Added lines 18-21:
lmon16c.cTiny Changes:
a) adding back the SccsId by popular demand
b) adding ifdef ARM for Raspberry Pi2:
c) running indent -kr -l200 to improve readability ]]
January 11, 2016, at 09:04 PM by 127.0.0.1 -
Changed line 19 from:

1) The previous nmon 16a's "Z experiment" was finished but now use Online "U" (for CPU Utilisation stats) \\

to:

1) The previous nmon 16a's "Z experiment" was finished but now use On-screen Utilisation "U" (for CPU Utilisation stats) \\

Changed lines 21-22 from:

Instead of the classic UNIX User, System, IO-Wait and Idle - we find Linux now has ten categories
user, user_nice, system, idle, iowait, irq, softirq, steal, guest, guest_nice. \\

to:

Instead of the classic UNIX User, System, IO-Wait and Idle - we find Linux now has ten categories
which are user, user_nice, system, idle, iowait, irq, softirq, steal, guest, guest_nice. \\

Changed line 27 from:

3) On screen Kernel stats layout was improved \\

to:

3) On-screen Kernel stats layout was improved \\

Changed line 31 from:

1) Nvidia GPU support - online & saved to file \\

to:

1) Nvidia GPU support - online & saved to file \\

Changed lines 35-43 from:

2) CPU Wide View - online view for up to 192 CPUs
3) CPU MHz per Core ratings for machine that allow cores with different MHz - online & saved to file
4) lscpu stats capture - online & to file
5) Z experiment mode showing CPU interrupts - more to come in version 16b - online only
6) Online colourising stats to aid usability - online only
7) Massive improvement in help information: nmon -? and nmon -h
8) Code change to alphabetic order for getopt() and key input functions - just code clean up
9) New nmon logo on flash screen - online only
10) Extra kernel stats - online only \\

to:

2) CPU Wide View - online view for up to 192 CPUs
3) CPU MHz per Core ratings for machine that allow cores with different MHz - online & saved to file
4) lscpu stats capture - online & to file
5) Z experiment mode showing CPU interrupts - more to come in version 16b - online only
6) Online colourising stats to aid usability - online only
7) Massive improvement in help information: nmon -? and nmon -h
8) Code change to alphabetic order for getopt() and key input functions - just code clean up
9) New nmon logo on flash screen - online only
10) Extra kernel stats - online only \\

Changed line 47 from:
lmon15g.c1) Reduced time drift \\
to:
lmon15g.c1) Reduced time drift \\
Changed line 51 from:

2) New Function Top process ordered by storage I/O \\

to:

2) New Function Top process ordered by storage I/O \\

Changed line 63 from:

3) Reduction of screen artefacts \\

to:

3) Reduction of screen artefacts \\

Changed line 69 from:
lmon15f.cNew Function stop disk stats duplication \\
to:
lmon15f.cNew Function stop disk stats duplication \\
Changed lines 77-78 from:
lmon15e.cRemoved saved to file Network stats trailing comma
File systems stats accuracy \\
to:
lmon15e.cRemoved saved to file Network stats trailing comma
File systems stats accuracy \\
Changed line 86 from:
lmon15c.cNew Function CPU Steal stats \\
to:
lmon15c.cNew Function CPU Steal stats \\
January 11, 2016, at 01:53 PM by 127.0.0.1 -
Changed line 17 from:
Download FileComments
to:
Download FileComments
January 11, 2016, at 01:51 PM by 127.0.0.1 -
Changed line 17 from:
Download FileComments
to:
Download FileComments
January 08, 2016, at 08:39 AM by 127.0.0.1 -
January 07, 2016, at 04:32 PM by 127.0.0.1 -
Added lines 18-29:
lmon16b.cNew Features:
1) The previous nmon 16a's "Z experiment" was finished but now use Online "U" (for CPU Utilisation stats)
or for capture to file -U and look for the CPUUTIL lines in the output file
Instead of the classic UNIX User, System, IO-Wait and Idle - we find Linux now has ten categories
user, user_nice, system, idle, iowait, irq, softirq, steal, guest, guest_nice.
This is tricky to graph and display within nmon so the 10 stats are added stats i.e. replacing the classic views/data
as there is not enough space online and changing the output file format would break many tools
2) Older code and stats maintains the classic values as User (includes nice), System (includes irq & softirq & guest & guest_nice),
IO-Wait and Idle but some online graphs show Steal.
3) On screen Kernel stats layout was improved
4) Bug fixes: BBBP double quotes confuse spreadsheet and replaced with "Q", #ifdef corrected.
Released: 7th January 2016
Changed line 38 from:

5) Z experiment mode showing CPU interrupts - more o come in version 16b - online only \\

to:

5) Z experiment mode showing CPU interrupts - more to come in version 16b - online only \\

January 01, 2016, at 06:39 PM by 127.0.0.1 -
Changed lines 31-32 from:

10) Extra kernel stats - online only 11) makefile - large improvement for hardware platforms and Linux ververions\\

to:

10) Extra kernel stats - online only
11) makefile - large improvement for hardware platforms and Linux versions \\

January 01, 2016, at 06:38 PM by 127.0.0.1 -
Changed lines 20-22 from:
  • You need a S822LC
  • With NVIDIA GPU(s)
  • and Nvidia Library installed libnvidia-ml.so
to:
  • You need a S822LC
    * With NVIDIA GPU(s)
    * and Nvidia Library installed libnvidia-ml.so \\
January 01, 2016, at 06:38 PM by 127.0.0.1 -
Added lines 20-22:
  • You need a S822LC
  • With NVIDIA GPU(s)
  • and Nvidia Library installed libnvidia-ml.so
Changed lines 31-32 from:

10) Extra kernel stats - online only \\

to:

10) Extra kernel stats - online only 11) makefile - large improvement for hardware platforms and Linux ververions\\

January 01, 2016, at 06:33 PM by 127.0.0.1 -
Changed lines 29-30 from:

plus some some bugs like SLESS11.3 "lsblk" has missing TYPE option handling, networks stats trailing comma ||

to:

plus some some bugs like SLESS11.3 "lsblk" has missing TYPE option handling, networks stats trailing comma
Released: 1st January 2016 ||

January 01, 2016, at 06:31 PM by 127.0.0.1 -
Changed line 21 from:

3) CPU MHz per Core ratings for machine that allow cores with different MHz - online & saved to file \\

to:

3) CPU MHz per Core ratings for machine that allow cores with different MHz - online & saved to file \\

Changed lines 26-29 from:

8) Code change to alphabetic order for getopt and key input functions
9) New nmon logo on flash screen - online only
10) Extra kernel stats - online only
plus some some bugs like SLESS11.3 "lsblk" handling, networks stats trailing comma ||

to:

8) Code change to alphabetic order for getopt() and key input functions - just code clean up
9) New nmon logo on flash screen - online only
10) Extra kernel stats - online only
plus some some bugs like SLESS11.3 "lsblk" has missing TYPE option handling, networks stats trailing comma ||

January 01, 2016, at 06:23 PM by 127.0.0.1 -
Added lines 18-29:
lmon16a.cNew Features:
1) Nvidia GPU support - online & saved to file
2) CPU Wide View - online view for up to 192 CPUs
3) CPU MHz per Core ratings for machine that allow cores with different MHz - online & saved to file
4) lscpu stats capture - online & to file
5) Z experiment mode showing CPU interrupts - more o come in version 16b - online only
6) Online colourising stats to aid usability - online only
7) Massive improvement in help information: nmon -? and nmon -h
8) Code change to alphabetic order for getopt and key input functions
9) New nmon logo on flash screen - online only
10) Extra kernel stats - online only
plus some some bugs like SLESS11.3 "lsblk" handling, networks stats trailing comma
July 13, 2015, at 11:43 AM by 127.0.0.1 -
Changed lines 36-38 from:

Fingered crossed - no more old output characters showing as you change modes etc. Thanks to David Braun pointing out the issue.\\

to:

Fingered crossed - no more old output characters showing as you change modes etc.
Most often seen in Top Processes mode: "u" = show user command and "." show only running processes.
Thanks to David Braun pointing out the issue.\\

July 13, 2015, at 11:36 AM by 127.0.0.1 -
Changed line 20 from:

even if knocked off the CPU while running. Once over a second the next inter-snapshot sleep time is reduced.

to:

even if knocked off the CPU while running. Once over a second the next inter-snapshot sleep time is reduced. \\

Changed line 46 from:
lmon15e.cRemoved saved to file Network stats trailing comma
to:
lmon15e.cRemoved saved to file Network stats trailing comma \\
July 13, 2015, at 11:34 AM by 127.0.0.1 -
Changed lines 20-21 from:

even if knocked off the CPU while running. Once over a second the next inter-snapshot sleep time is reduced.
2) New Function \\

to:

even if knocked off the CPU while running. Once over a second the next inter-snapshot sleep time is reduced. Thanks to Sergei Rodionov but 10 seconds in 5 hours was pretty good but not good enough for Sergei :-)
2) New Function Top process ordered by storage I/O \\

Changed line 33 from:

and the output is ordered on the total of these columns, \\

to:

and the output is ordered on the total of these columns. Thanks to David Braun for the reminder. \\

Changed lines 36-37 from:

Fingered crossed - no more old output characters showing as you change modes etc.
\\

to:

Fingered crossed - no more old output characters showing as you change modes etc. Thanks to David Braun pointing out the issue.\\

Changed line 38 from:
lmon15f.cNew Function stop disk stat duplication \\
to:
lmon15f.cNew Function stop disk stats duplication \\
Changed lines 46-47 from:
lmon15e.cRemoved saved to file Network stats trailing comma\\
to:
lmon15e.cRemoved saved to file Network stats trailing comma

File systems stats accuracy \\

Changed lines 51-52 from:

Delta=blocks reserved for root - 3rd May 2015\\

to:

Delta=blocks reserved for root use.
3rd May 2015\\

Changed lines 55-56 from:
lmon15c.cAdded CPU Steal% stats for VM CPU being stolen by Hypervisor - April 2015\\
to:
lmon15c.cNew Function CPU Steal stats
Added CPU Steal% stats for VM CPU being stolen by Hypervisor - April 2015\\
July 13, 2015, at 11:25 AM by 127.0.0.1 -
Changed lines 38-39 from:
lmon15f.cAdded -g auto option to create a User Define Disk Group file called "auto" this takes lsblk| grep disk output \\
to:
lmon15f.cNew Function stop disk stat duplication
Added -g auto option to create a User Define Disk Group file called "auto" this takes lsblk| grep disk output \\
July 13, 2015, at 11:24 AM by 127.0.0.1 -
Added lines 18-37:
lmon15g.c1) Reduced time drift
In data capture mode, zero time drift due to nmon compute time - nmon own CPU time is tracked and accumulated
even if knocked off the CPU while running. Once over a second the next inter-snapshot sleep time is reduced.
2) New Function
Top processes stats now supports mode 5 = reordering on storage I/O by each process.
The Page faults also gets changed to show the storage stats. Unfortunately, /proc/PID/io has permissions "r------" so
it is only readable by the process owner and root. So nmon limits this to root user only.
I think this is a Linux /proc bug that needs fixing!
So if the root user, type 5 and
Faults
Min Maj
now changes to
StorageKB
Read Write
and the output is ordered on the total of these columns,
3) Reduction of screen artefacts
Reordering screen output cursor function, mode the welcome screen to a pad and coloured red the new CPU details.
Fingered crossed - no more old output characters showing as you change modes etc.

13th July 2015
July 09, 2015, at 01:21 PM by 127.0.0.1 -
Added lines 18-24:
lmon15f.cAdded -g auto option to create a User Define Disk Group file called "auto" this takes lsblk| grep disk output
for a disk to disk map excluding disk partitions. This stops disk stats and partition stats duplication.
With this online looking at disk stats, hit "G" and the partition disappear.
With this saving to a file -g auto or regular -g file then you have -D for extra User Disk Group stats:
like disk wait time & disk service times, merges, in-flight I/O count & backlog.
For disk stats documents (read 25 lines) see https://www.kernel.org/doc/Documentation/iostats.txt
9th July 2015
May 07, 2015, at 08:15 AM by 127.0.0.1 -
Changed line 26 from:

Thanks to Sergei Rodionov for the idea example code ||

to:

Thanks to Sergei Rodionov for the idea & example code ||

May 05, 2015, at 12:15 PM by 127.0.0.1 -
Deleted lines 0-1:

Oh Dear. This page had its content trashed. It seems we have been hacked or corrupted

Changed line 18 from:
lmon15e.cRemoved saved to file Network stats trailing comma\\
to:
lmon15e.cRemoved saved to file Network stats trailing comma\\
May 03, 2015, at 03:58 PM by 127.0.0.1 -
Changed line 28 from:

Thanks to Sergei Rodionov for the idea some example code ||

to:

Thanks to Sergei Rodionov for the idea example code ||

May 03, 2015, at 03:39 PM by 127.0.0.1 -
Changed line 28 from:

Thanks to Sergei Rodionov for the idea ||

to:

Thanks to Sergei Rodionov for the idea some example code ||

May 03, 2015, at 03:33 PM by 127.0.0.1 -
Changed lines 24-25 from:

Delta=blocks reserved for root - 3rd May 2015||

to:

Delta=blocks reserved for root - 3rd May 2015
Thanks to Sergei Rodionov for the idea ||

Changed lines 27-28 from:
lmon15c.cAdded CPU Steal% stats for VM CPU being stolen by Hypervisor - April 2015
makefileUsed to compile nmon. Note: new version 3rd May 2015
to:
lmon15c.cAdded CPU Steal% stats for VM CPU being stolen by Hypervisor - April 2015
Thanks to Sergei Rodionov for the idea
makefileUsed to compile nmon. Note: new version 3rd May 2015
May 03, 2015, at 03:18 PM by 127.0.0.1 -
Changed lines 1-2 from:

Oh Dear. It seems we have been hacked or corrupted
This is a place holder for now.

to:

Oh Dear. This page had its content trashed. It seems we have been hacked or corrupted

May 03, 2015, at 03:14 PM by 127.0.0.1 -
Added line 23:

Using ceil() some Distro's need -lm in the new makefile\

Changed lines 26-28 from:
lmon15d.cThis is the current source code beta version 15c - April 2015
lmon15c.cThis is the current source code beta version 15c - April 2015
makefileUsed to compile nmon
to:
lmon15d.cClean up CPU Steal% stats - April 2015
lmon15c.cAdded CPU Steal% stats for VM CPU being stolen by Hypervisor - April 2015
makefileUsed to compile nmon. Note: new version 3rd May 2015
May 03, 2015, at 03:08 PM by 127.0.0.1 -
Added lines 21-25:
lmon15e.cRemoved saved to file Network stats trailing comma
JFS stat to screen round up like df command output,
JFS Use% calculated on available size not total size.
Delta=blocks reserved for root - 3rd May 2015
lmon15d.cThis is the current source code beta version 15c - April 2015
April 13, 2015, at 12:26 PM by 127.0.0.1 -
Changed line 21 from:
lmon15c.cThis is the current source code beta version 15c
to:
lmon15c.cThis is the current source code beta version 15c - April 2015
April 13, 2015, at 12:25 PM by 127.0.0.1 -
Changed line 76 from:
  • or using the Platform + Linux Distor + version that you found in the makefile.
to:
  • or using the Platform + Linux Disto + version that you found in the makefile.
April 13, 2015, at 12:25 PM by 127.0.0.1 -
Changed line 21 from:
lmon15c.cThis is the current source code beta version
to:
lmon15c.cThis is the current source code beta version 15c
Changed line 23 from:
Older versions 
to:
Older versionsUse these, if we have introduced a bug in the latest version above
Added line 76:
  • or using the Platform + Linux Distor + version that you found in the makefile.
April 13, 2015, at 12:21 PM by 127.0.0.1 -
Changed lines 64-65 from:

Example: Ubuntu 15.4 is just out and you have a power CPU The closest entry is

to:

Example: Ubuntu 15.4 is just out and you have a power CPU
The closest entry is\\

Changed line 69 from:

Copy and change this to

to:

Copy and change this to \\

Changed lines 73-75 from:

And you are ready to compile with: make nmon_power_ubuntu1504
and the nmon binary will be called: nmon_power_ubuntu1504
You can always rename the nmon command or link it to say nmon with: ln nmon_power_ubuntu1504 /usr/bin/nmon

to:

For action 4:

  • You are ready to compile with: make nmon_power_ubuntu1504
  • The nmon binary will be in your local directory and called: nmon_power_ubuntu1504
    * You can:
    • rename the nmon command to something smaller
    • or link it to say nmon with: ln nmon_power_ubuntu1504 nmon
    • or if root install nmon in a regular path: cp nmon_power_ubuntu1504 /usr/bin/nmon

Hope you get your nmon working, Cheers Nigel

April 13, 2015, at 12:17 PM by 127.0.0.1 -
Changed line 1 from:

Oh Dear. It seems we have been hacked or corrupted

to:

Oh Dear. It seems we have been hacked or corrupted\\

Changed lines 16-17 from:

For action 1: Just click on the link below and wait 10 seconds. Ignore all the horrible adverts and confusing messages.

to:

For action 1: Just click on the link below to open in a different Tab and wait 10 seconds. The download should continue automatically. Ignore all the horrible adverts and deliberately confusing screen messages. I suspect lots of those links will download viruses, malware and worse.

Added line 23:
Older versions 
Changed line 25 from:
lmon14g.cPrevious stable source code version
to:
lmon14g.cEven older stable source code version
April 13, 2015, at 12:13 PM by 127.0.0.1 -
Added line 17:
Added lines 24-25:
lmon14g.cPrevious stable source code version
April 13, 2015, at 12:13 PM by 127.0.0.1 -
Changed line 10 from:
  1. Download the latest source code (it is just one file) and the makefile
to:
  1. Download the latest source code (it is just one file names lmon<version>.c) and the makefile
Changed line 12 from:
  1. Hard link the latest C source code file to the filename lnom.c (using in the makefile) with: ln lmon15c.c lmon.c
to:
  1. Hard link the latest C source code file to the filename lnom.c (lmon.c is used in the makefile)
Changed lines 14-16 from:
  1. Run make and you have a new version in roughly 4 seconds. Ready to run.

Downloads] - Just click on the link below and wait 10 seconds. Ignore all the horrible adverts and confusing messages.

to:
  1. Run make and you have a new version in roughly 4 seconds. Ready to run.

For action 1: Just click on the link below and wait 10 seconds. Ignore all the horrible adverts and confusing messages. Downloads

Changed line 20 from:
lmon15c.cThis is the current beta version
to:
lmon15c.cThis is the current source code beta version
Changed lines 22-25 from:
lmon14i.cPrevious stable version

For 1 to 3 you have to work out how to do that for your Linux flavour. Hints:

to:
lmon14i.cPrevious stable source code version

For action 2: you have to work out how to do that for your Linux flavour. Hints:

Changed lines 40-41 from:

Assuming you are OK with some UNIX/Linux Editor like vi.

  • Edit the makefile - You are looking for the right
to:

For action 3: Assuming the version you just downloaded is 99z with: ln lmon99z.c lmon.c

For action 4: Assuming you are OK with some UNIX/Linux editor like vi.

  • Edit the makefile - You are looking for the right combination of
Changed lines 46-47 from:
  • Linux distribution and version
to:
  • Linux distribution
  • Linux version

Examples:

  1. You have a POWER processor based machine and running SLES 11.3 - look for the lines starting nmon_power_SLES113
  2. You have a old 32 bit AMD or Intel processor based machine and running RHEL5 - look for the lines starting nmon_x86_RHEL5
  3. You have a 64 bit AMD or Intel processor based machine and running Ubuntu 14.10 - look for the lines starting nmon_x86_64_ubuntu1410

If you find a match remember the exact name for the make file command below.

If you don't find a match you need to make one by copying the nearest match and making changes.

  • Select one using the Processor - there are compile time options for each processor. Then one with a similar Linux version.
  • Don't worry about Big and Little Endian - the compiler will compile for what ever you are currently running on.

Example: Ubuntu 15.4 is just out and you have a power CPU The closest entry is nmon_power_ubuntu1410: $(FILE)

        gcc -o nmon_power_ubuntu1410 $(FILE) $(CFLAGS) $(LDFLAGS) -D POWER -D KERNEL_2_6_18

Copy and change this to nmon_power_ubuntu1504: $(FILE)

        gcc -o nmon_power_ubuntu1504 $(FILE) $(CFLAGS) $(LDFLAGS) -D POWER -D KERNEL_2_6_18

And you are ready to compile with: make nmon_power_ubuntu1504
and the nmon binary will be called: nmon_power_ubuntu1504
You can always rename the nmon command or link it to say nmon with: ln nmon_power_ubuntu1504 /usr/bin/nmon

April 13, 2015, at 11:31 AM by 127.0.0.1 -
Changed lines 9-20 from:
  1. Install the GCC C Compiler
  2. Install the ncurses development library
  3. If its not already available, Install the "make" command
  4. Download the latest source code file - it is just one file
  5. Link the latest version to lnom.c with: ln lmon15c.c lmon.c
  6. Download the makefile
  7. Find your platform, OS and version in the makefile or make a new one
  8. Run make and you have a new version in roughly 4 seconds.

For 1 to 3 you have to work out how to do that for your LInux. Hints:

  • Ubuntu
to:
  1. Download the latest source code (it is just one file) and the makefile
  2. Install the GCC C Compiler, ncurses development library and (if its not already available) Install the make command
  3. Hard link the latest C source code file to the filename lnom.c (using in the makefile) with: ln lmon15c.c lmon.c
  4. Edit the makefile to find your platform, OS and version in the makefile or make a new one
  5. Run make and you have a new version in roughly 4 seconds. Ready to run.

Downloads] - Just click on the link below and wait 10 seconds. Ignore all the horrible adverts and confusing messages.

Download FileComments
lmon15c.cThis is the current beta version
makefileUsed to compile nmon
lmon14i.cPrevious stable version

For 1 to 3 you have to work out how to do that for your Linux flavour. Hints:

  • Debian / Ubuntu
Deleted lines 43-48:

+Downloads]

Download FileComments
lmon15c.cThis is the current beta version
makefileUsed to compile nmon
lmon14i.cPrevious stable version
April 13, 2015, at 11:23 AM by 127.0.0.1 -
Changed line 8 from:

Nmon is pretty simple to comile:

to:

nmon is pretty simple to compile - the whole thing takes no more than 3 minutes if you have your distro OS DVD media online:

Added line 13:
  1. Link the latest version to lnom.c with: ln lmon15c.c lmon.c
Added line 18:
Changed lines 35-56 from:
  • Edit the makefile - You are looking for a
  • Note: to download the source code go to "Compiling nmon" menu item.

Instructions for getting a working binary copy of nmon for Linux:

  1. Select the right platform and them download the matching file.
  2. Unzip the download
  3. Find the right enclosed binary file and start it. The file name should be fairly obvious like the Power SUSE SLES 11 file in "nmon_power_sles11"

The current release is version 14g - I strongly encourage you to use the latest version. If that is not available on your platform, then I recommend you download and compile it yourself
- see Compiling nmon on the left menu. It is very simple with one makefile and one source file.

The older the versions the more bugs.


nmon version 14i was released on 1st August 2013 This included another fix for NFS plus enhanced information about your CPUs on the front panel, and "r" panel and in captured nmon files (particularly for POWER). Take the left menu "Compiling nmon" link for more details. If these don't interest you, please carry on running nmon for Linux 14g.


nmon version 14h was released on 3rd July 2013 This included a fix for POWER based machines when the Entitlement CPU is set below 10% of a CPU - only applies to the POWER7+ processors or POWER7 that has a firmware upgrade like Power 770/780/79. and a fix for a crash if you gather NFS serving stats on certain Linux distributions/versions - one combination effected was RHEL 6.3. If these don't interest you, please carry on running nmon for Linux 14g.


to:
  • Edit the makefile - You are looking for the right
    • Platform (Power, x86 x86_64 or mainframe)
    • Linux distribution and version

+Downloads]

Changed lines 41-66 from:
Download FilePlatformFilename, platform and Linux Distribution
centos7.tar.gzx86_64MPG supplied compiled on Centos 7
mint17.tar.gzx86_64MPG supplied compiled on Mint 17
nmon_linux_14i_newer_Linux_versions.tar.gzx86 & x86_64 & POWER
Thanks again to our friends at Midrange Performance Group
who have come through again & compiled nmon for Linux 14i
http:/docs/mpg.jpg
nmon 14i for 16 different combinations of Linux
including Centos, Debian, Fedora, Mint,
POWER: RHEL6 & 7, SLES 10 & 11, Ubuntu le,
x86 x86_64: Fedora20, x86 Mint and x86 OpenSUSE
and nmonmerge
nmon_linux_14i.tar.gzx86 & x86_64
Thanks again to our friends at Midrange Performance Group
who have come through again & compiled nmon for Linux 14i
http:/docs/mpg.jpg
nmon 14i for 44 different x86 & x86_64 of Linux
including Centos, Debian, Fedora, Mint,
OpenSUSE, RHEL, SLES, Ubuntu, Zorin and others
and 8 compiles of nmonmerge
nmon_14i_power_sles112POWERnmon 14i for POWER SLES 11.2
nmon_14i_x86_ubuntu134x86_64nmon 14i for x86 64 bit Ubuntu 13.4
nmon_pi.zipARM v11nmon 14g Debian 6 "squeeze" for ARM on Raspberry Pi
to:
Download FileComments
lmon15c.cThis is the current beta version
makefileUsed to compile nmon
lmon14i.cPrevious stable version
April 13, 2015, at 11:16 AM by 127.0.0.1 -
Added lines 1-81:

Oh Dear. It seems we have been hacked or corrupted This is a place holder for now.

nmon for Linux - Compiling the Source Code

  • Assuming you can't find a pre-compiled version (See Download Binaries in the left Menu) or want a really fresh version to match your Linux system.

Nmon is pretty simple to comile:

  1. Install the GCC C Compiler
  2. Install the ncurses development library
  3. If its not already available, Install the "make" command
  4. Download the latest source code file - it is just one file
  5. Download the makefile
  6. Find your platform, OS and version in the makefile or make a new one
  7. Run make and you have a new version in roughly 4 seconds.

For 1 to 3 you have to work out how to do that for your LInux. Hints:

  • Ubuntu
    • sudo apt-get update
    • sudo apt-get install gcc*
    • sudo apt-get install ncurses-dev*
    • sudo apt-get install make
  • Fedora / Redhat - as the root user
    • yum install gcc*
    • yum install ncurses-dev*
    • yum install make
  • OpenSUSE / SUSE - as the root user
    • yast install gcc*
    • yast install ncurses-dev*
    • yast install make

Assuming you are OK with some UNIX/Linux Editor like vi.

  • Edit the makefile - You are looking for a
  • Note: to download the source code go to "Compiling nmon" menu item.

Instructions for getting a working binary copy of nmon for Linux:

  1. Select the right platform and them download the matching file.
  2. Unzip the download
  3. Find the right enclosed binary file and start it. The file name should be fairly obvious like the Power SUSE SLES 11 file in "nmon_power_sles11"

The current release is version 14g - I strongly encourage you to use the latest version. If that is not available on your platform, then I recommend you download and compile it yourself
- see Compiling nmon on the left menu. It is very simple with one makefile and one source file.

The older the versions the more bugs.


nmon version 14i was released on 1st August 2013 This included another fix for NFS plus enhanced information about your CPUs on the front panel, and "r" panel and in captured nmon files (particularly for POWER). Take the left menu "Compiling nmon" link for more details. If these don't interest you, please carry on running nmon for Linux 14g.


nmon version 14h was released on 3rd July 2013 This included a fix for POWER based machines when the Entitlement CPU is set below 10% of a CPU - only applies to the POWER7+ processors or POWER7 that has a firmware upgrade like Power 770/780/79. and a fix for a crash if you gather NFS serving stats on certain Linux distributions/versions - one combination effected was RHEL 6.3. If these don't interest you, please carry on running nmon for Linux 14g.


Download FilePlatformFilename, platform and Linux Distribution
centos7.tar.gzx86_64MPG supplied compiled on Centos 7
mint17.tar.gzx86_64MPG supplied compiled on Mint 17
nmon_linux_14i_newer_Linux_versions.tar.gzx86 & x86_64 & POWER
Thanks again to our friends at Midrange Performance Group
who have come through again & compiled nmon for Linux 14i
http:/docs/mpg.jpg
nmon 14i for 16 different combinations of Linux
including Centos, Debian, Fedora, Mint,
POWER: RHEL6 & 7, SLES 10 & 11, Ubuntu le,
x86 x86_64: Fedora20, x86 Mint and x86 OpenSUSE
and nmonmerge
nmon_linux_14i.tar.gzx86 & x86_64
Thanks again to our friends at Midrange Performance Group
who have come through again & compiled nmon for Linux 14i
http:/docs/mpg.jpg
nmon 14i for 44 different x86 & x86_64 of Linux
including Centos, Debian, Fedora, Mint,
OpenSUSE, RHEL, SLES, Ubuntu, Zorin and others
and 8 compiles of nmonmerge
nmon_14i_power_sles112POWERnmon 14i for POWER SLES 11.2
nmon_14i_x86_ubuntu134x86_64nmon 14i for x86 64 bit Ubuntu 13.4
nmon_pi.zipARM v11nmon 14g Debian 6 "squeeze" for ARM on Raspberry Pi
Edit - History - Print - Recent Changes - Search
Page last modified on May 20, 2016, at 12:02 PM