Diagnostic Commands

When iWay Service Manager (iSM) is running in a command shell, you can control it by typing commands in addition to using the console. These commands are designed to assist you in resolving issues.

Several of the key commands are listed and described in the following table. To see a full list of available commands, type Help at the Command Prompt on Windows after using the iwsrv command to start iSM.

Command

Description

diagzip

Creates a diagnostic information file for use by iWay Support. For example, you can enter the following command:

diagzip c:\temp\Diag_from_base

errors

Displays the last ten errors reported by the server.

exits

Displays loaded exits such as Activity Log and Correlation Manager.

func

Displays the list of iWay Functional Language (iFL) functions, or the parameters of that function.

gc

Runs the Java garbage collector.

help

Displays help for the diagnostic commands. Type help command_name to display help for a specific diagnostic command.

info

Displays channel information.

license

Displays available iWay license codes.

line

Prints one or more lines on the command window or the trace log to improve the readability.

memory

Lists the amount of memory that is currently in use and the amount of free memory that is available.

pools

Lists resource pools.

providers

Displays providers currently in use.

pull

Load information from another configuration/installation.

quit

Exits the server. All listeners must be stopped.

refresh

Restarts a specified listener with an updated local configuration.

run

Runs a command file.

set

Sets a parameter. Usually used to set the tracing level, for example, set trace on.

shell

Attempts to run an operating system command.

show

Displays server information.

sregs

Displays globally available special registers.

start

Starts one or more channels.

stats

Run statistics on the current instance or listener.

stop

Stops one or more channels.

threads

Lists execution threads currently controlled by the server. Does not necessarily include threads started by auxiliary packages, such as third-party interfaces. Useful after a Stop command to determine what is still running.

time

Prints the GMT time on the console.

tool

Runs a named tool, such as testfuncs.

type

Type/display the contents of a text file.

version

Displays the product version and all later versions of .JAR files.


iWay Software