FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sahmed_FTNT
Staff
Staff
Article Id 296968
Description This article describes the 'diag sys profile cpumask' command, which can be used in cases where only 1 CPU core shows high utilization.
Scope All supported versions of FortiGate.
Solution

In some cases, all of the CPU cores are in normal utilization and only 1 CPU core is showing high utilization. To troubleshoot, perform the following steps:

 

  1. Take the output of the following command:

 

cpu core.jpg

 

After verifying which CPU core is high, use the command 'diag sys profile cpumask' to further look into that specific core. This command helps to profile individual CPU cores to troubleshoot.

 

  1. Use the command to start the cpumask process:

 

diag sys profile cpumask  [X]    <- Here, X is the CPU core.

diag sys profile start                   <- To start the profiling process.

diag sys profile stop                      <- To stop the process.

 

To show the output, it is necessary to use the following command to see collected profilemask values:

 

diag sys profile show order

 

  1. After, take the output of the 'diag sys top' command to verify which process is high in resource consumption.