Sponsored Content
Full Discussion: NMON for RHEL45 WS
Operating Systems Linux Red Hat NMON for RHEL45 WS Post 302367509 by DrivesMeCrazy on Monday 2nd of November 2009 11:40:10 PM
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?
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. AIX

Nmon

HI Im new on this world. Im 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

4. AIX

Nmon tool

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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
PMLOAD(1p)						User Contributed Perl Documentation						PMLOAD(1p)

NAME
pmload - show what files a given module loads at compile time DESCRIPTION
Given an argument of a module name, show all the files that are loaded directly or indirectly when the module is used at compile-time. EXAMPLES
$ pmload IO::Handle /usr/local/devperl/lib/5.00554/Exporter.pm /usr/local/devperl/lib/5.00554/Carp.pm /usr/local/devperl/lib/5.00554/strict.pm /usr/local/devperl/lib/5.00554/vars.pm /usr/local/devperl/lib/5.00554/i686-linux/DynaLoader.pm /usr/local/devperl/lib/5.00554/i686-linux/IO/Handle.pm /usr/local/devperl/lib/5.00554/Symbol.pm /usr/local/devperl/lib/5.00554/i686-linux/IO/File.pm /usr/local/devperl/lib/5.00554/SelectSaver.pm /usr/local/devperl/lib/5.00554/i686-linux/Fcntl.pm /usr/local/devperl/lib/5.00554/AutoLoader.pm /usr/local/devperl/lib/5.00554/i686-linux/IO.pm /usr/local/devperl/lib/5.00554/i686-linux/IO/Seekable.pm $ cat `pmload IO::Socket` | wc -l 4015 $ oldperl -S pmload Tk /usr/lib/perl5/site_perl/Tk/Pretty.pm /usr/lib/perl5/Symbol.pm /usr/lib/perl5/site_perl/Tk/Frame.pm /usr/lib/perl5/site_perl/Tk/Toplevel.pm /usr/lib/perl5/strict.pm /usr/lib/perl5/Exporter.pm /usr/lib/perl5/vars.pm /usr/lib/perl5/site_perl/auto/Tk/Wm/autosplit.ix /usr/lib/perl5/site_perl/auto/Tk/Widget/autosplit.ix /usr/lib/perl5/site_perl/Tk.pm /usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm /usr/lib/perl5/site_perl/auto/Tk/Frame/autosplit.ix /usr/lib/perl5/site_perl/auto/Tk/Toplevel/autosplit.ix /usr/lib/perl5/Carp.pm /usr/lib/perl5/site_perl/auto/Tk/autosplit.ix /usr/lib/perl5/site_perl/Tk/CmdLine.pm /usr/lib/perl5/site_perl/Tk/MainWindow.pm /usr/lib/perl5/site_perl/Tk/Submethods.pm /usr/lib/perl5/site_perl/Tk/Configure.pm /usr/lib/perl5/AutoLoader.pm /usr/lib/perl5/site_perl/Tk/Derived.pm /usr/lib/perl5/site_perl/Tk/Image.pm /usr/lib/perl5/site_perl/Tk/Wm.pm /usr/lib/perl5/site_perl/Tk/Widget.pm NOTE
If the programmers used a delayed "require", those files won't show up. Furthermore, this doesn't show all possible files that get opened, just those that those up in %INC. Most systems have a way to trace system calls. You can use this to find the real answer. First, get a baseline with no modules loaded. $ strace perl -e 1 2>&1 | perl -nle '/^open("(.*?)".* = [^-]/ && print $1' /etc/ld.so.cache /lib/libnsl.so.1 /lib/libdb.so.2 /lib/libdl.so.2 /lib/libm.so.6 /lib/libc.so.6 /lib/libcrypt.so.1 /dev/null $ strace perl -e 1 2>&1 | grep -c '^open.*= [^-]' 8 Now add module loads and see what you get: $ strace perl -MIO::Socket -e 1 2>&1 | grep -c '^open.*= [^-]' 24 $ strace perl -MTk -e 1 2>&1 | grep -c '^open.*= [^-]' 35 SEE ALSO
Devel::Loaded, plxload(1). AUTHORS and COPYRIGHTS Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2008 Mark Leighton Fisher. This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.) Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". perl v5.10.1 2010-02-22 PMLOAD(1p)
All times are GMT -4. The time now is 02:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy