Stopping the Policy Agent

You can stop the Policy Agent by:
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.