This command performs an orderly shutdown of the TAS system, realms, or services. It can send connected clients a sequence of warning messages first, including the number of minutes until disconnection and an explanation. To terminate connections for specific clients, use "tnkill". Use "tnstart" to restart the server.
TNHOME/usr/sbin
tnshut [-f] [-r realm] [-t type] [-s service] [minutes [reason...]] tnshut -C [-r realm] [-t type] [-s service] tnshut [minutes [reason...]]
-f |
Shut down all TAS realms and services immediately, without sending a message to connected clients. |
-C |
Cancel a shutdown in progress. |
minutes |
Specify the number of minutes before you want TAS to shut down. If you do not specify a time, minutes defaults to 0. When you specify minutes and reason, TAS accepts client connections until five minutes before shutdown. |
reason |
Indicate a brief message to send to connected service clients. The clients must have message-receipt capacity. The reason can include up to 60 characters. If the explanation includes any of the following characters, you may need to enclose it in quotes, depending on your UNIX shell: # $ & * [ ' " ` ? \ |^ ! When you specify minutes and reason, TAS accepts client connections until five minutes before shutdown. |