Fortinet black logo

CLI Reference

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 details, see Permissions.

Syntax

diagnose system kill <delay_int> <delay_int>

Variable Description Default

<signal_int>

Enter 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>

Enter the process ID where the signal is sent to.

To list all current process IDs, use system top .

No default.

Related topics

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 details, see Permissions.

Syntax

diagnose system kill <delay_int> <delay_int>

Variable Description Default

<signal_int>

Enter 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>

Enter the process ID where the signal is sent to.

To list all current process IDs, use system top .

No default.

Related topics