Description Syntax Examples executeDump

15-6 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

15.2.1 describeDump

Use with WLST: Online

15.2.1.1 Description

Displays a description of the specified diagnostic dump.

15.2.1.2 Syntax

describeDumpname [,appName] [.server]

15.2.1.3 Example

The following example displays information about the dump with the name odl.logs. You use the listDumps command to retrieve the list of available dumps. describeDumpname=odl.logs Name: odl.logs Description: Dumps recent ODL logs, or logs correlated by ECID Manadatory Arguments: Optional Arguments: Name Type Description ECID String Execution Context Id to correlate log entries with timestamp String Timestamp to query logs 5 minutes beforeafter

15.2.2 executeDump

Use with WLST: Online

15.2.2.1 Description

Executes the specified diagnostic dump.

15.2.2.2 Syntax

executeDumpname [,args] [,outputFile] [,id] [,adrHome] [,server] Table 15–3 Diagnostic Dump Commands Use this command... To... Use with WLST... describeDump Display a description of the specified diagnostic dump. Online executeDump Execute the specified diagnostic dump. Online listDumps Display the set of diagnostic dumps that can be executed. Online Argument Definition name The name of the dump for which to display information. appName The name of the deployed application for which information is gathered. For example, if you have multiple ADF applications deployed, each may register a dump called adf.dump. To execute this command for a specific application, you must specify the application name. server The name of the Managed Server from which to collect information. This argument is valid only when you are connected to the Administration Server. Diagnostic Framework Custom WLST Commands 15-7 Arguments that are either required or are optional can be specified using the args keyword. For example: executeDumpjava.sysprops,args={prop : os.name}

15.2.2.3 Examples

The following example executes the dump with the name jvm.threads and writes it to the file dumpout.txt: executeDumpname=jvm.threads, outputFile=tmpdumpout.txt Diagnostic dump jvm.threads output written to tmpdumpoutput.txt The following example executes the dump with the name jvm.threads and the Incident ID for 33 and writes it to the file dumpout.txt: executeDumpname=jvm.threads, outputFile=tmpdumpout.txt, id=33 Diagnostic dump jvm.threads output associated with incident 33 in ADR Home diagofmbase_domainAdminServer The following example executes a dump with the argument prop set to the value os.name: executeDumpjava.sysprops,args={prop : os.name}

15.2.3 listDumps