diagnose : system kill
 
system kill
Use this command to terminate a process currently running on FortiWeb, or send another signal from the FortiWeb OS to the process.
To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For more information, see “Permissions”.
Syntax
diagnose system kill <signal_int> <pid_int>
Variable
Description
Default
<signal_int>
Type the ID of the signal to send to the process. This in an integer between 1 and 32. Some common signals are:
1 — Varies by the process’s interpretation, such as re-read configuration files or re-initialize (hang up; SIGHUP).
For example, the FortiWeb web UI verifies its configuration files, then restarts gracefully.
2 — Request termination by simulating the pressing of the interrupt keys, such as Ctrl + C (interrupt; SIGINT).
3 — Force termination immediately and do a core dump (quit; SIGQUIT).
9 — Force termination immediately (kill; SIGKILL).
15 — Request termination by inter-process communication (terminate; SIGTERM).
No default.
<pid_int>
Type the process ID where the signal is sent to.
To list all current process IDs, use diagnose system top.
No default.
Related topics
diagnose system top
diagnose hardware cpu
diagnose hardware mem
get system performance