gk::shutdown exit
gk::shutdown processdied id
The gk::shutdown command is used internally to manage the orderly shutdown of GroupKit processes.The "gk::shutdown exit" command provides a clean way to exit the current process.
The "gk::shutdown processdied" command is typically invoked by portions of GroupKit that maintain socket connections (e.g. the subnets of an environment), when they notice a socket to another process has been closed. This routine generates a "processShutdown" event which can be used to perform cleanup tasks. For example, any nodes in environments that are marked as dependent on the process will be deleted.