Fortinet white logo
Fortinet white logo

CLI Reference

hardware check

hardware check

Use this command to check the appliance hardware for errors. In the case of FortiWeb, this command checks virtual hardware—the vCPUs.

For example, to troubleshoot a logging problem, use the following command to check the log disk for errors:

diagnose hardware check logdisk


If the disk does not pass the check, it is likely the source of the problem.

Syntax

diagnose hardware check {all |cp8 |cpu |logdisk | memory |nic}

Variable Description Default

{all |cp8 |cpu |logdisk | memory |nic}

Enter the type of hardware to check, or enter all to check all hardware.

For FortiWeb-VM versions, the cp8 option is not available.
Note: Only some hardware platforms support diagnose hardware check.

No default.

Example

The following command checks the log disk:

diagnose hardware check logdisk

Output similar to the following appears in the CLI:

logdisk check Pass

size Pass 1952

disk-number Pass 2

raid-level Pass raid1

hardware check

hardware check

Use this command to check the appliance hardware for errors. In the case of FortiWeb, this command checks virtual hardware—the vCPUs.

For example, to troubleshoot a logging problem, use the following command to check the log disk for errors:

diagnose hardware check logdisk


If the disk does not pass the check, it is likely the source of the problem.

Syntax

diagnose hardware check {all |cp8 |cpu |logdisk | memory |nic}

Variable Description Default

{all |cp8 |cpu |logdisk | memory |nic}

Enter the type of hardware to check, or enter all to check all hardware.

For FortiWeb-VM versions, the cp8 option is not available.
Note: Only some hardware platforms support diagnose hardware check.

No default.

Example

The following command checks the log disk:

diagnose hardware check logdisk

Output similar to the following appears in the CLI:

logdisk check Pass

size Pass 1952

disk-number Pass 2

raid-level Pass raid1