Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.2 Online Documentation (MoTW) Revision 3

LOGOFF-ALL command (M605006+LOGOFFALL.HTM)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

LOGOFF-ALL

Logs off all or a specified range of ports and disconnects them from the database.

Syntax

LOGOFF-ALL {start{end}} {(options}

Syntax elements

startThe start port number in decimal; defaults to 0.

endThe end port number in decimal; defaults to 32767.

Options

KUses SIGTERM signal (9) instead of the default SIGTERM signal (15).

NCauses the command not to wait and check that processes actually log off.

YSuppresses the confirmation prompt (useful for scripting).

Restrictions

SYSMAN account only.

Prompt

If you use the LOGOFF-ALL command without the Y option you are prompted as follows:

Are you sure you want to logoff all ports between start and end (Y/N) ?

To return to TCL without logging off any ports, press return.

Operation

LOGOFF-ALL without the N option does the following:

LOGOFF-ALL with the N option simply attempts to log off all process in the range (except from the current port) and then immediately outputs:

[492] Port logoff actioned.

Example

:LOGOFF-ALL 1000-2000 (KN

The screen displays:

Are you sure you want to logoff all ports between 1000 and 2000 (Y/N) ?
Y
[492] Port logoff actioned

RealityV15.2Revision 3Comment on this topic