11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

66 CHAPTER 2 ■ DATABASE DIAGNOSABILITY AND FAILURE REPAIRViewing the List of CommandsYou can see what adrci commands are available by typing the command help at the adrcicommand line:adrci> helpIf you want to see what adrci command-line options are available, type adrci -help at thecommand line.You can get additional information for a single command by typing the command nameafter the keyword help. The following command, for example, lets you find out the syntax andusage details for the show incident command:adrci> help show incidentUsage: SHOW INCIDENT [-p ][-mode BASIC|BRIEF|DETAIL][-last | -all][-orderby (field1, field2, ...) [ASC|DSC]]Purpose: Show the incident information. By default, this commandwill only show the last 50 incidents which are not flood controlled.Options:[-p ]: The predicate string must be double-quoted.adrci>[-mode BASIC|BRIEF|DETAIL]: The different modes of showing incidents.…Examples:show incidentshow incident -mode detailshow incident -mode detail -p "incident_id=123"In the following sections, we highlight some of the key tasks you can perform with theadrci tool.Viewing the Alert LogIn <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g, the alert log is stored as both a text file and as an XML-formatted file.You can use adrci to view the XML-formattted alert log without the XML tags. Just type showalert at the adrci prompt to view the contents of the alert log:adrci> show alertChoose the alert log from the following homes to view:1: diag/tnslsnr/localhost/listener2: diag/rdbms/oracle<strong>11</strong>/oracle<strong>11</strong>3: diag/rdbms/orcl<strong>11</strong>/orcl<strong>11</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!