Ok that all look fine.
You rebooted a week ago = that eliminates a lot of potential problems.
I am compiling on AIX7300-02-01-2346.
Original Message:
Sent: Tue December 03, 2024 02:26 AM
From: Amira Romdhane
Subject: Nimon for AIX 7.3
Hello,
#root:/tmp/njmon> oslevel -s
7300-01-02-2319
You have mail in /usr/spool/mail/root
#root:/tmp/njmon> uptime
01:36AM up 7 days, 17:51, 4 users, load average: 2.70, 2.64, 2.76
#root:/tmp/njmon> ls -lrt /usr/lib/boot/unix_64
-r-xr-xr-x 1 root system 58068187 Mar 30 2023 /usr/lib/boot/unix_64
Best Regards,
------------------------------
Amira Romdhane
Original Message:
Sent: Mon December 02, 2024 03:46 PM
From: nigel griffiths
Subject: Nimon for AIX 7.3
Oh, dear! I recall seeing this before and it was either an old AIX release - due to missing Tl and SP levels.
Or it was upgraded and the user forgot to reboot the new kernel.
Cat you send me the output from
- oslevel -s
- uptime
- ls -ltr /usr/lib/boot/unix_64
You could add the njmon option -D - this avoids a few libperfstat library function that cause problems
but you will be missing. a few stats: paging, disks, disk-paths, net-buffers.
The error message is saying that the malloc() system call failed but the code has checked the numbers of paths is a positive number.
This suggests to me it is the "forgot to reboot after and upgrade" issue.
Send me the info and if this is not a production server try a reboot and retry.
Cheers, N
------------------------------
Nigel Griffiths - IBM retired
London, UK
@mr_nmon
Original Message:
Sent: Mon December 02, 2024 08:17 AM
From: Amira Romdhane
Subject: Nimon for AIX 7.3
Hello,
I installed the version v85 and I had the same problem
./ninstall
Save old versions by adding .save to the filename
Operating Systems AIX7300 installing njmon version=v85 into /usr/lbin
Installing njmon_aix7_V85 - combined AIX and VIOS
Setting the file permissions
Linking the njmon file to the nimon file (see ln command)
-rwxrwxr-x 2 root system 1023702 Dec 02 07:13 /usr/lbin/nimon
-rwxrwxr-x 2 root system 1023702 Dec 02 07:13 /usr/lbin/njmon
Installing manual pages for njmon and nimon in /usr/share/man/man1
#root/tmp/njmon> /usr/lbin/nimon -s 30 -k -i INFLUXDB -p 8086 -x njmon -y test -z test
34079188
ERROR: njmon version AIX7-85-28/11/2024
ERROR: Assert Failure in file="njmon_aix_v85.c" in function="ps_disk_path_init" at line=5251
ERROR: Reason=malloc(pathprev)
ERROR: Pointer=0x0
ERROR: Expression=[[expression]]
ERROR: errno=35
ERROR: Exiting njmon
best regards,
------------------------------
Amira Romdhane
Original Message:
Sent: Mon December 02, 2024 06:03 AM
From: nigel griffiths
Subject: Nimon for AIX 7.3
With the new njmon version 85 there is a single binary for AIX 7.2, AIX 7.3 and VIOS3.
- Please, ignore the njmon for AIX72, AIX73 and VIOS3 binary files (njmon_aix72_v85, njmon_aix_73_v85 and njmon_vio2_v85) there are supplied in case we have unexpected problems i.e. emergency use only. They might be useful if you are running AIX older release like you have not updated them for years, so many TL and SP missing: oslevel -s will tell you what you are running the the year it was released.
In the past it was a special compile for VIOS 3 support due to additional functions in the libperfstat library for VIOS resource stats.
- This njmon for VIOS version would fail to start when running on AIX due to the library mismatches.
In preparing version 85, I found AIX and VIOS3 now have the same library (well done AIX and VIOS developers) and if you are running njmon_aix7_v85 on a AIX the function call for the VIOS stats just return "not available".
This new combined AIX and VIOS binary for njmon_aix7_v85. If running on AIX, it now silently ignores users requesting VIOS resource stats (options -v -u and -U).
- i.e. you request VIOS stats on AIX that is not a VIOS = pretty dumb IMHO but njmon silently works out there are no VIOS resources and just delivers the regular AIX stats.
I don't have a AIX 7.1 to test on but I am confident the single binary njmon_aix7_v835 should run OK there too.
If there is a problem with njmon_aix7_v835 on AIX 7.1 or VIOS 4.0, I would expect it to refuse to start up due to a library mismatch. So, it is very simple to detect.
Just type: njmon_aix7_v85 -!
- this will output the njmon version an stop - but that will prove it found the correct libraries on start up.
If it does not run I will have to ask for access to AIX 7.1 to test and compile a version.
VIOS 4 is just out - this is based on the newer AIX 7.3 release. I am very sure the same one binary njmon_aix7_v85 with run there with no problems.
We all know the VIOS is a regular AIX operating system with some extra packages to provide the VIOS function, right?
- OK there are some other things like the "padmin" user, security items and they might have removed some standard AIX function that the VIOS will never ever use.
I am waiting for some people to run a test or two for AIX 7.1 and VIOS 4.
By the way, AIX 6 and VIOS 2 are history now (no binaries from me). The njmon code still has the compile time flag to support AIX6 that is -D AIX6 (also needed for VIOS2). Users will need to compile their own copies.
I hope this explains some back ground and points out njmon life just got simpler.
Cheers,
------------------------------
Nigel Griffiths - IBM retired
London, UK
@mr_nmon
Original Message:
Sent: Mon December 02, 2024 03:42 AM
From: Ane-Pieter Wieringa
Subject: Nimon for AIX 7.3
Hi Nigel,
Thanks for the new version. Will there be a version for vios version 4? Or can I use njmon_vios3 on vios4?
TIA
Ane-Pieter Wieringa
------------------------------
Ane-Pieter Wieringa
Original Message:
Sent: Fri November 29, 2024 12:12 PM
From: nigel griffiths
Subject: Nimon for AIX 7.3
Good move a recent AIX version.
Just in the last hour or so released a new version njmon for AIX, version 85.
Get it from here https://nmon.sourceforge.io/pmwiki.php?n=Site.Njmon
The "ninstall" should work.
Unzip, then as root user run ./ninstall
Let me know if you have problems
Cheers, Nigel
------------------------------
Nigel Griffiths - IBM retired
London, UK
@mr_nmon
Original Message:
Sent: Wed November 27, 2024 06:04 AM
From: Amira Romdhane
Subject: Nimon for AIX 7.3
Hello Nigel,
the version of AIX installed is 7300-01-02-2319
Best regards,
------------------------------
Amira Romdhane
Original Message:
Sent: Wed November 27, 2024 01:27 AM
From: Joerg Kauke
Subject: Nimon for AIX 7.3
Hello Amira,
so step by step:
1. check where the actual nimon version is installed: which nimon
2. remane the file "njmon_aix73_v83" to nimon: mv njmon_aix73_v83 nimon
3. copy the new nimon file to the location you got from point 1.
Done.
kind regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Tue November 26, 2024 09:23 AM
From: Amira Romdhane
Subject: Nimon for AIX 7.3
hello,
I extracted the zip file.
so next step how i can install nimon.
should I compile njmon.c?
Makefile
njmon_aix_v83.c
njmon_aix71_v83
njmon_aix72_v83
njmon_aix73_v83
njmon_vios3_v83
Best Regards,
------------------------------
Amira Romdhane
Original Message:
Sent: Tue November 26, 2024 09:09 AM
From: Phill Rowbottom
Subject: Nimon for AIX 7.3
That download contains the binary, you don't need to compile anything.
------------------------------
Phill Rowbottom
Original Message:
Sent: Tue November 26, 2024 08:58 AM
From: Amira Romdhane
Subject: Nimon for AIX 7.3
Hello,
I want to install nimon on AIX 7.3.
I downloaded version njmon_aix_v83beta.zip
how I can compile the binary?
Best regards,
------------------------------
Amira Romdhane
Original Message:
Sent: Thu October 17, 2024 04:33 AM
From: nigel griffiths
Subject: Nimon for AIX 7.3
Hi,
I do not see an error.
There is a note that a new manual page is not available as this version as it was a beta release. That is not an error.
Run nimon -!
To check the nimon version you have installed and can be found in your $PATH list.
nimon will immediately stop after outputting the version details
Note you are installing an old njmon/nimon version. Version 83 is available from:
https://nmon.sourceforge.io/pmwiki.php?n=Site.Njmon
This was released as a beta version but turned out we found no further bugs so it is a full release now.
See the note on the webpage "Upgraded this release = no longer considered a beta."
Perhaps, I should have released the same file again without the words "beta" on it. I will do that next time.
Always use the latest version.
I hope this helps, cheers, Nigel
ps: Any one can contact me at nigelargriffiths@hotmail.com
For help or comments.
------------------------------
Nigel Griffiths - IBM retired
London, UK
@mr_nmon
------------------------------