[oracle@oraclehost orcl]$ du -sh *
9.8G alert
4.0K cdump
4.0K hm
4.0K incident
4.0K incpkg
4.0K ir
4.0K lck
4.0M metadata
4.0K metadata_dgif
4.0K metadata_pv
4.0K stage
4.0K sweep
11G trace
[oracle@oraclehost orcl]$ adrci
ADRCI: Release 11.2.0.4.0 - Production on Mon Feb 13 11:51:09 2023
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> help purge
Usage: PURGE [[-i
[-age
Purpose: Purge the diagnostic data in the current ADR home. If no
option is specified, the default purging policy will be used.
Options:
[-i id1 | id1 id2]: Users can input a single incident ID, or a
range of incidents to purge.
[-age <mins>]: Users can specify the purging policy either to all
the diagnostic data or the specified type. The data older than <mins>
ago will be purged
[-type ALERT|INCIDENT|TRACE|CDUMP|HM|UTSCDMP]: Users can specify what type of
data to be purged.
Examples:
purge
purge -i 123 456
purge -age 60 -type incident
adrci> purge -age 60 -type trace;
adrci> purge -age 60 -type alert
adrci> exit
du -sh *
40K alert
4.0K cdump
4.0K hm
4.0K incident
4.0K incpkg
4.0K ir
4.0K lck
4.0M metadata
4.0K metadata_dgif
4.0K metadata_pv
4.0K stage
4.0K sweep
6.3G trace