OS: OEL 6.4
Oracle Software: 11gR2.
Oratop
oratop is a utility similar to the unix OS utility top which gives a overview of database performance and can be used in combination with top to get a more complete overview of system performance
Linux x86-64
NOTE: oratop can be used to monitor databases on other platforms but the executable must run on Linux with an Oracle client.
To monitor databases on other platforms simply define an alias in tnsnames.ora of the linux client and connect to the databases remotely as you would with sqlplus
Download the oratop executable for 11gR2 on Linux x86-64 here.
Download the oratop executable for 12c on Linux x86-64 for use with 12c clients here.
Download the oratop executable for 11gR2 on Linux x86-32 here.
Download the oratop executable for 12c on Linux x86-32 for use with 12c clients here.
Please download and review the oratop Users Guide for specific instructions on how to configure and run oratop. A Quick Start Guide is provided in the Instructions section of this Note.
Running oratop
- Log in to the system as the Oracle RDBMS software installation owner
- Stage the oratop executable on the server on which the tool will be executed. On a RAC system it is only necessary to stage the executable on one node as it is RAC aware.
- Change the name of the executable, eg.
- $ mv oratop* oratopValidate the permissions for oratop are 755 (-rwxr-xr-x). If the permissions are not currently set to 755, set the permissions on oratop as follows:
- $ chmod 755 oratop
- Configure the execution environment as follows (if not already set accordingly)
- $ export TERM=xterm #or vt100$ export ORACLE_HOME=<11.2 database home>$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib$ export PATH=$ORACLE_HOME/bin:$PATH$ export ORACLE_SID=<local 11.2 database SID to be monitored> #only needed if connecting to a local database
- Invoke the tool to monitor a local database as follows (interval can be any interval in seconds):$ ./oratop -i 10 / as sysdba
- Non-dba privileged user requires specific grants to use the tool. See User Guide for grants required.
- Databases can be monitored remotely using a tns alias as described in the oratop Users Guide.
- $ ./oratop -i 10 username/password@tns_alias$ ./oratop -i 10 system/manager@tns_alias
- To exit the program simply press the keyboard key “q”. To abort, CTRL-C.
In my case nothing is running so i got below screen
No comments:
Post a Comment