rmsess

Use the rmsess command to remove a session.

Important: You can remove only those sessions that are in the Defined state.

Syntax

Read syntax diagramSkip visual syntax diagramrmsess-help-h-?-quiet  session_name -

Parameters

-help | -h | -?
Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes to all confirmation prompts.
session_name... | -
Specifies the name of the session to be removed. Separate multiple session names using a blank space.

Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.

Example: Removing a session

The following command removes the session1 session.

csmcli> rmsess -quiet session1

The following output is returned:

IWNR1022I  Session session1 was successfully deleted.