dbcli commands crib sheet

 

cd /opt/oracle/dcs/bin


./dbcli list-dbhomes
./dbcli describe-component
./dbcli list-databases -j
./dbcli describe-database -in <db_name>
./dbcli list-jobs -f `date --date='-3 day' '+%Y-%m-%d'`
./dbcli list-jobs|grep -i <dbname>
./dbcli list-jobs | tail
not the last job ID listed with a status other than success
with the job ID you noted above check the details of that jobs

./dbcli list-jobs | grep 'Failure'
./describe-job -i <id of failed job>
./dbcli describle-job -i <job_ID> -j
./dbcli describe-job -i <failed_job_id> -l Verbose

No comments:

Post a Comment