Skip to main content
Fortiben1
Explorer II
Nov 28, 2024 5:42 PM UTC
Question

Fortigate CPU Utilization Time

Good day Fortipeeps,

 

I just want to ask if there's such command to get fortigate CPU utilization for specific time? For example diag sys top 2024-11-11. or that command does not exist.

 

Thank you! 

6 replies

sjoshi
Staff
Staff
Nov 28, 2024 5:57 PM UTC

Hi Fortiben1,

 

get sys perf status >> will give CPU status

Also from the System event logs it will give you the CPU stats every 5 mins

Translate
Thanks, Salon
Fortiben1
Fortiben1Author
Explorer II
Nov 28, 2024 6:11 PM UTC

Hello Sir sjoshi,

Thank you for your help I tried it right now. I saw earlier 1 CPU core usage peaked at 70% but did not last for second as per graph (millisecond I guess). Tried to choose the 30 min option on the utilization but the spike did not show up.

Translate
sjoshi
Staff
Staff
Nov 28, 2024 6:15 PM UTC

If the CPU Spikes is for few secs monitoring script can be run to monitor the status of the device.

it will capture the output automatically.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-FortiGate-monitoring-script/ta-p/193006

https://community.fortinet.com/t5/FortiGate/Configuration-Example-FortiGate-remote-monitoring-and-logging/ta-p/189892

Translate
Thanks, Salon
wmichael
Staff
Staff
Nov 28, 2024 6:24 PM UTC

Hello,

 

You can use the command ' diagnose sys mpstat <delay> <loops>' to monitor utilization over a period of time.  Delay is in seconds, loops is the number of times you want it to run.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Deprecated-of-command-diagnose-sys-top-summary/ta-p/195551

 

 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024