Browse Prior Art Database

Method for Notifying Critical Tasks of an Impending Power Shut-Down

IP.com Disclosure Number: IPCOM000105976D
Original Publication Date: 1993-Sep-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 2 page(s) / 53K

Publishing Venue

IBM

Related People

Beatty, DL: AUTHOR

Abstract

Disclosed is a method for notifying certain application programs of an impending system power shut-down initiated by a remote system. A predefined command file is provided, in which the user can enter commands to terminate critical applications. The various critical application programs each provide a command-line executable means for termination, such as the KILLDBM command of Database Manager. Just before removing power from the system, a process is spawned to execute the command file, notifying each critical application to prepare for system shut-down.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 75% of the total text.

Method for Notifying Critical Tasks of an Impending Power Shut-Down

      Disclosed is a method for notifying certain application
programs of an impending system power shut-down initiated by a remote
system.  A predefined command file is provided, in which the user can
enter commands to terminate critical applications.  The various
critical application programs each provide a command-line executable
means for termination, such as the KILLDBM command of Database
Manager.  Just before removing power from the system, a process is
spawned to execute the command file, notifying each critical
application to prepare for system shut-down.

      The Figure provides a flow chart of system operation after the
remote power on/off software of the system receives a POWER-OFF
signal in block 1.  A MAX-WAIT timer is set in block 2 to establish
the maximum time which will be allowed to pass before the system is
shut down, and in block 3 the thread is spawned to execute the
critical application command file.  In block 4, the next (in this
case, the first) of the critical application commands is executed.
The various critical application commands previously define by the
user are sequentially executed until all the commands in the critical
application command file have been completed as determined in block
5, or until the time allowed by the MAX- WAIT timer has elapsed as
determined in block 6.  Then a power-off command is issued to the
system in block 7, so that the system shu...