adrci : Create package of incidents and problems

$ adrci

adrci> show home
$ADR_BASE/diag/rdbms/{DB-name}/{SID}/incident
$ADR_BASE/diag/rdbms/{DB-name}/{SID}/trace


adrci> set home diag/rdbms/orcl/orcl
adrci> show alert -tail -f



-- Show problem and incidents

adrci> show problem

adrci> show incident

adrci> show incident -mode detail -p "incident_id=6201"


adrci> show trace <path_of_tracefile>


-- Create Package

adrci> ips create package problem 1 correlate all   (It will generate package no.)

adrci> ips generate package 2 in "/tmp"



-- Check purge policy

adrci> show tracefile -rt

adrci> show control

Purge older than 2 days
adrci> purge -age 2880 -type trace

adrci> show tracefile -rt