apstop command
The apstop command stops the system software stack, which comprises the system application and platform manager.
When no parameters are specified, the command stops the system application, platform applications and platform management. Platform manager's state is Inactive, that is, platform manager is started but no monitoring takes place. The system application is also stopped.
The command checks if Db2® backup or restore operations are in progress.
Syntax
apstop [-h][-v][--service][-m][--ignore_backup][-a|-p]
Parameters
- -h|--help
- Displays help for the command.
- -v|--verbose
-
Displays some additional information from the logs.
- --service
- Instead of restarting the platform manager service and putting it in state Inactive, the service is stopped.
- --ignore_backup
- Ignores the ongoing database backup and stops the system application anyway.
- -a|--app_only
- Stops the system application only. A sample output
follows:
[root@node0101-fab ~]# apstop -a Successfully deactivated application
- -p|--platform_only
- Stops only the management platform leaving the system application intact. A sample output
follows:
[root@node0101-fab ~]# apstop -p Successfully deactivated platform
- -m|--monitored_apps
- Stops platform manager and the monitored platform applications. Works only if
-p is
used:
[root@node0101 ~]# apstop -pm Successfully deactivated platform
Db2