SCF Reference Manual for the Kernel Subsystem

Deleting a Generic Process
To delete a generic process configured in one or more processors, use these SCF commands in
the order indicated by the numeral in the first column of the table.
Table 12 Deleting a Generic Process
PurposeSCF Command
To display the current object state of each instance of the generic processSTATUS1.
To stop any processes communicating with the generic processSTOP2.
(optional) To allow time for SCF to receive complete results on the starting of
a process group
TIMEOUT3.
To put all instances of the process into the STOPPED object state (if not already
in that state)
ABORT4.
To verify that all instances of the process are in the STOPPED object stateSTATUS5.
To remove all instances of the generic process from the system configurationDELETE6.
To verify that the generic process has been removed from the system
configuration database
INFO7.
NOTE: You cannot stop or delete the $ZZKRN subsystem manager itself.
Example
This example shows how to delete the $ZZKRN.#GP generic process from the system.
1. Display the object state of each instance of the generic process, using the STATUS command:
-> ASSUME PROCESS $ZZKRN.#GP
-> STATUS
NONSTOP KERNEL - Status PROCESS \EAST.$ZZKRN.#GP
Symbolic Name Name State Sub Primary Backup Owner
PID PID ID
GP $GP400 STARTED 0 ,34 None 0 ,0
GP $GP401 STARTED 1 ,23 None 0 ,0
GP $GP402 STOPPED None None
GP $GP403 STOPPED None None
2. Stop any processes communicating with an instance of the generic process.
3. When you stop a generic process that has been configured as a group in multiple processors
(by, for example, the CPU ALL attribute), or when you stop multiple generic processes (by
using a wild card in the ABORT command), SCF might need more time to finish aborting and
reporting about all instances of the generic process. If you are starting such a generic process
group and if you have not already done so, enter a TIMEOUT command (described in the
SCF Reference Manual for G-Series RVUs or the SCF Reference Manual for J-Series and H-Series
RVUs) to specify a timeout value that is larger than the default value of 90 seconds. This
command sets an unlimited timeout value:
-> TIMEOUT
4. Stop all instances of the generic process with an ABORT command.
-> ABORT
KERNEL W00028 Process \EAST.$GP400 aborted successfully.
KERNEL W00028 Process \EAST.$GP401 aborted successfully.
KERNEL W-00016 Object \EAST.$ZZKRN.#$GP402 is already in STOPPED state
KERNEL W-00016 Object \EAST.$ZZKRN.#$GP403 is already in STOPPED state
5. Use a STATUS command to verify that each instance of the generic process is in the STOPPED
object state, ABORTED substate. The state and substate are shown here in bold.
58 Configuring and Managing Generic Processes