Install Nmon method

1. Log in to the IBM official website (http://nmon.sourceforge.net/pmwiki.php?n=Site.Download) to download the corresponding version of nmon tool: nmon_linux_14g.tar.gz  

  Network disk address link: https://pan.baidu.com/s/1htJs9k4 Password: cml0

2. Log in to the system as the root user and create a directory: mkdir /nmon

3 Upload the downloaded nmon tool to the server directory /nmon through xshell5

4. Modify tar package permissions: #chmod +x nmon_linux_14g.tar.gz 

5. Unzip the file: # tar -zxvf nmon_linux_14g.tar.gz 

6. Execute the authorization command: # chmod +x nmon_x86_rhel54

7. Run ./nmon_x86_rhel54, then an error will be reported:

(1) -bash: ./nmon_x86_rhel4: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

As soon as I saw this error, I couldn't solve it. I had no clue. Later, I could only search and search on the Internet, and then I realized that the library file /lib/ld-linux.so.2 was missing.

This is the only way: yum install glibc.i686

oops, wrong again

[root@data nmon]# ./nmon_x86_rhel4
./nmon_x86_rhel4:error while loading shared libraries:libncurses.so.5:cannot open shared object

I searched online for the answers given by netizens: http://blog.csdn.net/saraul/article/details/9621321  

yum install ncurses-devel.i686

then executing

[root@data nmon]# ./nmon_x86_rhel4

It's finally okay now, it's not easy  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325305444&siteId=291194637