You can stop the Policy Agent by:
- Using the operator command STOP
- Using the kill command in the z/OS® shell
- Using the operator command CANCEL. Use the CANCEL command only
as a last resort if the STOP or kill commands do not completely stop
the Policy Agent.
Result: When the Policy Agent is shut
down normally (KILL or STOP), if the PURGE option is configured, all
QoS, IDS, and AT-TLS policies are purged from this stack. IPSec and
Routing policies are not automatically purged.
The following kill command with the TERM signal will enable Policy
Agent to clean up resources properly before terminating itself:
kill -s TERM pid
where pid is the Policy Agent process ID.
The Policy Agent process ID can be obtained using the following z/OS UNIX command:
ps -A
It can also be obtained from the /tmp/pagent.pid file. The /tmp/pagent.pid
file is a temporary file created by the Policy Agent. It contains
the process ID of the current invocation of the Policy Agent. This
temporary file is deleted when the Policy Agent is stopped.