Fortinet black logo

Diagnose Commands

Diagnose Commands

The following diagnostic commands are available:

Command

Description

hardware-info

Display general hardware status information. Use this option to view CPU, memory, disk, and RAID information, as well as system time settings.

diagnose-clilog

Record all CLI input and output.

See diagnose-clilog for details.

diagnose-krnlog

Record the kernel ring buffer.

See diagnose-krnlog for details.

diagnose-debug

Display detailed debug logs of network share scan and communications with devices.

See diagnose-debug for details.

diagnose-sys-top

Display system top information.

See diagnose-sys-top for details.

diagnose-sys-perf

Display system performance information.

Optionally, specify how many previous hours to show with -m<hours> (maximum = 40320, default = 1).

disk-attributes

Display system disk attributes. This option is only available on hardware models.

disk-errors

Display any system disk errors. This option is only available on hardware models.

disk-health

Display disk health information. This option is only available on hardware models.

disk-info

Display disk hardware status information. This option is only available on hardware models.

raid-hwinfo

Display RAID hardware status information. This option is only available on hardware models.

test-network

Test the network connection. The output can be used to detect network speed and connection to FDN servers and Microsoft servers.

Diagnose Commands

The following diagnostic commands are available:

Command

Description

hardware-info

Display general hardware status information. Use this option to view CPU, memory, disk, and RAID information, as well as system time settings.

diagnose-clilog

Record all CLI input and output.

See diagnose-clilog for details.

diagnose-krnlog

Record the kernel ring buffer.

See diagnose-krnlog for details.

diagnose-debug

Display detailed debug logs of network share scan and communications with devices.

See diagnose-debug for details.

diagnose-sys-top

Display system top information.

See diagnose-sys-top for details.

diagnose-sys-perf

Display system performance information.

Optionally, specify how many previous hours to show with -m<hours> (maximum = 40320, default = 1).

disk-attributes

Display system disk attributes. This option is only available on hardware models.

disk-errors

Display any system disk errors. This option is only available on hardware models.

disk-health

Display disk health information. This option is only available on hardware models.

disk-info

Display disk hardware status information. This option is only available on hardware models.

raid-hwinfo

Display RAID hardware status information. This option is only available on hardware models.

test-network

Test the network connection. The output can be used to detect network speed and connection to FDN servers and Microsoft servers.