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)
Logs off all or a specified range of ports and disconnects them from the database.
LOGOFF-ALL {start{–end}} {(options}
startThe start port number in decimal; defaults to 0.
endThe end port number in decimal; defaults to 32767.
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).
SYSMAN account only.
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.
LOGOFF-ALL without the N option does the following:
Attempts to log off all process in the given range except from the current port.
Waits two seconds and then retries any processes that are still logged on.
Waits a further two seconds and then checks whether or not all processes are now logged off.
Outputs one of the following messages, as appropriate:
[490] All ports logged off.
[491] Failure! Not all ports logged off!
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.
:
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