D.3 tfactl diagcollect
Use the tfactl diagcollect
command to perform on-demand diagnostic collection.
Oracle Trace File Analyzer Collector can perform three types of on-demand collections:
-
Default collections
-
Event-driven Support Service Request Data Collection (SRDC) collections
-
Custom collections
Syntax
tfactl diagcollect [[component_name1] [component_name2] ... [component_nameN] | [-srdc srdc_profile] | [-defips]]
[-sr SR#]
[-node all|local|n1,n2,...]
[-tag tagname]
[-z filename]
[-last nh|d | -from time -to time | -for time]
[-nocopy]
[-notrim]
[-silent]
[-cores]
[-collectalldirs]
[-collectdir dir1,dir2...]
[-examples]
[-upload]
[-id]
Components:-ips|-database|-asm|-crsclient|-dbclient|-dbwlm|-tns|-rhp|-procinfo|-afd|-crs|-cha|-wls|-emagent|-oms|-ocm|-emplugins|-em|-acfs
|-install|-cfgtools|-os|-ashhtml|-ashtext|-awrhtml|-awrtext
Parameters
Prefix each option with a minus sign (-).
Option | Description |
---|---|
|
Specify the list of components for which you want to obtain collections, or specify the SRDC name, or specify to include Incident Packaging Service (IPS) Packages for Oracle Automatic Storage Management (Oracle ASM), Oracle Clusterware, and Oracle Databases in the default collection. |
|
Specify the Service Request number to which Oracle Trace File Analyzer automatically uploads all collections. |
|
Specify a comma-delimited list of nodes from which to collect diagnostic information. Default is all. |
|
Use this parameter to create a subdirectory for the resulting collection in the Oracle Trace File Analyzer repository. |
|
Use this parameter to specify an output file name. |
|
Note: If you specify both date and time, then you must enclose both the values in double quotation marks (""). If you specify only the date or the time, then you do not have to enclose the single value in quotation marks. |
|
Specify this parameter to stop the resultant trace file collection from being copied back to the initiating node. The file remains in the Oracle Trace File Analyzer repository on the executing node. |
|
Specify this parameter to stop trimming the files collected. |
|
Specify this parameter to run diagnostic collection as a background process |
|
Specify this parameter to collect core files when it would normally have not been collected. |
|
Specify this parameter to collect all files from a directory that has |
|
Specify a comma-delimited list of directories and collection includes all files from these directories irrespective of type and time constraints in addition to the components specified. |
|
Specify this parameter to view |
|
Generates diagnostic collection and uploads to the specified end point name or config name to the location identifier. Optionally, you can specify the identifier. If you are uploading to My Oracle Support, then specify the SR number.
For example: |
Related Topics