Visit Our UNIX and Linux User Community


NMON for RHEL45 WS

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NMON for RHEL45 WS
# 1  
Old 08-27-2009
NMON for RHEL45 WS

Hi guys,

as per subject i am setting up NMON for the above OS but it is 64-bit Linux.

I downloaded the 32-bit NMON for RHEL45 as it is the only one available for RHEL45.

However, I ran into problem with the binary file.
# ./nmon_x86_rhel45
./nmon_x86_rhel45: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

# rpm -qa | grep curse
ncurses-5.4-13

I guess I need to install the 32-bit libncurses.so.5 rpm?
Btw, where is a good source to download it?

Thanks in advance.
# 2  
Old 08-27-2009
another option would be to create a symlink of your actual ncurses library to the one it is searching for.
# 3  
Old 11-02-2009
Thanks for the suggestion.

I install the 32-bit libncurses found from rpm.pbone.net instead and I got a warning.
After installation, I test the nmon and it is able to work.

# rpm -i libncurses5-5.3-1.20030215.4sls.i586.rpm
warning: libncurses5-5.3-1.20030215.4sls.i586.rpm: V3 DSA signature: NOKEY, key ID 67f22696
#

Can anyone advise if this warning can be ignore?
# 4  
Old 11-02-2009
Doing what you are doing can break things. You should not install rpms for a version of OS other than the one you are using. I had told you what to do.

You are doing this wrong.

Find the version of libcurses that came with the system and create a symlink in /usr/lib
like this:

ln -s <path to the libncurses> libncurses.so.5

if you are in the /usr/lib dir which is where it belongs
# 5  
Old 11-03-2009
Quote:
Originally Posted by mark54g
Doing what you are doing can break things. You should not install rpms for a version of OS other than the one you are using. I had told you what to do.

You are doing this wrong.

Find the version of libcurses that came with the system and create a symlink in /usr/lib
like this:

ln -s <path to the libncurses> libncurses.so.5

if you are in the /usr/lib dir which is where it belongs
Hi Mark,

Thanks, I did follow your suggestion above for the symlink.

I have also add /usr/lib and /usr/lib64 to $LD_LIBRARY_PATH but when i do a ldd on the nmon program, it still complaint it can't find libncurses.so.5.

I did logout and relogin again and echo $LD_LIBRARY_PATH, the path is there.

Any idea what might have gone wrong?
# 6  
Old 11-03-2009
what did you to to create your symlink?

if you do an ll in /usr/lib do you see libncurses.so.5 as a link to libncurses.so or some other file?
Also, you do not need to use LD_LIBRARY_PATH as there is an ld.so.conf file as well as the fact that /lib and /usr/lib are default searched.
# 7  
Old 11-04-2009
Quote:
Originally Posted by mark54g
what did you to to create your symlink?

if you do an ll in /usr/lib do you see libncurses.so.5 as a link to libncurses.so or some other file?
Also, you do not need to use LD_LIBRARY_PATH as there is an ld.so.conf file as well as the fact that /lib and /usr/lib are default searched.
Hi Mark,

I did what you suggested earlier.

Create a symlink in /usr/lib directory and point to the 64-bit library libncurses.

# ls -l /usr/lib/libncurses*
lrwxrwxrwx 1 root root 28 Nov 10:50 libncurses.so.5 -> /usr/lib64/libncurses.so.5.4

I just check the /etc/ld.so.conf, it only had an include statement "include ld.so.conf.d/*.conf".
Inside this directory, there is only 2 files mysql-x86_64.conf and xorg-x11-x86_64.conf.

I think this should be the cause of not able to find the path to libncurses since no /lib and /usr/lib was mentioned?


Thanks in advance.

Previous Thread | Next Thread
Test Your Knowledge in Computers #554
Difficulty: Medium
Using printf() in C, %d formats a decimal variable or literal.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can nmon be customized?

Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum. My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see... (2 Replies)
Discussion started by: ngaisteve1
2 Replies

2. AIX

Please Help With NMON Data

Hi guys, I am an Oracle DBA and I have an account with some databases on an AIX 5.3 server. I am trying to figure out if I really need to add memory to this box or not, the account team keeps pushing me to make a decision and I don't want to waste their money if I don't need to right now, we could... (4 Replies)
Discussion started by: nibbsbitt
4 Replies

3. AIX

aix and nmon

Hi All, First of all, I am a DBA and not an AIX admin. I am new at using this NMON tool. In interactive mode, I can start nmon, push 't' to have the list of process with their statistic (ie cpu% etc.). I would like to know if there is a way to redirect that screen output into a log... (1 Reply)
Discussion started by: Nayas
1 Replies

4. AIX

need help on NMON in AIX

HI, I have downloaded nmon 3.3c nmon analyzer, and run the command on aix ./nmon -f After that I have terminated the process and found .nmon file. when i have tried to open that file in nmon analyzer i.e in excel I am getting the error "no valid input data nmon run may have failed" ... (8 Replies)
Discussion started by: manoj.solaris
8 Replies

5. AIX

nmon in aix

Hi, I want to know how to use nmon in aix? I have donwloaded nmon (2 Replies)
Discussion started by: manoj.solaris
2 Replies

6. AIX

Nmon tool

Hi All, I have a p550 server with 4 proc. But when i run nmon analyzer in cpu_sum it show 5 processors cpu0 cpu1 cpu2 cpu3 cpu4. Why it is showing 5 processors. (6 Replies)
Discussion started by: vjm
6 Replies

7. AIX

Nmon tool

How to analyze nmon output or is there any tool for analyzing. (2 Replies)
Discussion started by: vjm
2 Replies

8. AIX

Nmon

HI I´m new on this world. I´m working with nmon and I understand that this tool generates a files that later with excel I can see the graphcial of my server. The problem is that this process is execute manualy and I need to meake automatic. How can I do That. Sorry for my english!! :o (3 Replies)
Discussion started by: jegtoro
3 Replies

9. AIX

nmon

Can any one help where i can find articals about nomn I need to know how to read this tools ┌─CPU-Utilisation-Small-View───────────────────────────────────────────────────┐ │ 0----------25-----------50----------75----------100│ │CPU User% Sys% Wait% Idle%| ... (3 Replies)
Discussion started by: habuzahra
3 Replies

10. AIX

Another NMON

Anyone ever experienced a core dump when running NMON. I am running AIX 5.3 on an 8 CPU LPAR (P570). This has only recently started to happen. (3 Replies)
Discussion started by: johnf
3 Replies

Featured Tech Videos