Description Syntax Example saveDiagnosticImageCaptureEntryFile

WLST Command and Variable Reference 3-35

3.6.5 saveDiagnosticImageCaptureEntryFile

Command Category: Diagnostics Commands Use with WLST: Online

3.6.5.1 Description

Downloads a specific entry from the diagnostic image capture that is located on the server to which WLST is currently connected. For more information about the WebLogic Server Diagnostic Service, see Configuring and Using the Diagnostics Framework for Oracle WebLogic Server. In the event of an error, the command returns a WLSTException.

3.6.5.2 Syntax

saveDiagnosticImageCaptureEntryFileimageName, imageEntryName, [outputFile]

3.6.5.3 Example

The following example gets the list of diagnostic image captures, then uses the saveDiagnosticImageCaptureEntryFile twice. In the first use, this example retrieves the image summary to the local machine using the default output file name. In the second use, it retrieves the image summary to the local machine in the file myimage.summary. wls:mydomainserverRuntimeimages=getAvailableCapturedImages Connecting to http:localhost:7001 with userid weblogic ... wls:mydomainserverConfig saveDiagnosticImageCaptureEntryFileimages[0], image.summary Retrieving entry image.summary from diagnostic_image_myserver_2009_06_25_12_12_ Argument Definition imageName Name of the diagnostic image capture containing the desired entry. imageEntryName Name of the specific entry to be retrieved from the diagnostic image capture. This can be one of the following: image.summary JTA.img JRockitFlightRecorder.jfr WatchSource.img configuration.img WORK_MANAGER.img JNDI_IMAGE_SOURCE.img APPLICATION.img InstrumentationImageSource.img SAF.img Logging.img PERSISTENT_STORE.img JDBC.img PathService.img JMS.img Deployment.img JVM.img CONNECTOR.img outputFile Optional. Local path and file name in which the entry retrieved from the diagnostic image capture is to be stored. If not specified, this argument defaults to the value of imageEntryName and the current working directory. 3-36 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference 50.zip to local path image.summary Connecting to http:localhost:7001 with userid weblogic ... wls:mydomainserverConfig saveDiagnosticImageCaptureEntryFileimages[0], image.summary, myimage.summary