%DUMP SESSIONS--List Windows Sessions

Lists Windows shell sessions started by the Agent.

Syntax

 %DUMP SESSIONS

Parameters

This command has no parameters.

Description

%DUMP SESSIONS applies to Agents running on the Windows operating system only. It lists Windows shell sessions started by the Agent. The sessions are listed in a table with one session per row, and the following columns:

FieldDescription
CreateTime time session was created, in seconds from Epoch 
SessionID unique identifier for the session 
ShellPid OS process ID of the session’s process 
TRM 

T (true) if the shell process has been terminated

F (false) otherwise 

RC 

T (true) if the read handle to the shell process has been closed

F (false) otherwise 

WC 

T (true) if the write handle to the shell process has been closed

F (false) otherwise 

SPH 

O (open) if the shell process handle is open

C (closed) if the shell process handle is closed 

RPH 

O (open) if the shell read pipe handle is open

C (closed) if the shell read pipe handle is closed 

WPH 

O (open) if the shell write pipe handle is open

C (closed) if the shell write pipe handle is closed 

WSH 

O (open) if the shell write signal handle is open

C (closed) if the shell write signal handle is closed 

InQ 

L (list) if the inbound FIFO queue has a list

E (empty) if the inbound FIFO queue is empty 

OutQ 

L (list) if the outbound FIFO queue has a list

E (empty) if the outbound FIFO queue is empty 

SRP 

T (true) if the Agent is waiting to read data from the session

F (false) otherwise 

SWP 

T (true) Agent is waiting to write data to the session

F (false) otherwise 

PCr 

T (true) if a carriage return character remains from the end of previously read data

F (false) otherwise

BM 

T (true) if session is being managed; that is, Agent has established a connection to the shell

F (false) if a connection to the shell has not yet been established 

ShF 

T (true) if shell has failed

F (false) if shell has not failed 

Note

The %DUMP SESSIONS command is one of a series of dump commands available from the command line. Use the %DUMP command (no argument) to obtain a list of items that can be dumped. 

Where to go from here

PSL External Commands 

Was this page helpful? Yes No Submitting... Thank you

Comments