Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Fortiben1
New Contributor II

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 6
sjoshi
Staff
Staff

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

Let us know if this helps.
Salon Raj Joshi
Fortiben1
New Contributor II

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.

sjoshi

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-lo...

Let us know if this helps.
Salon Raj Joshi
Fortiben1
New Contributor II

Thank you sir, I will consider to do this! 

sjoshi

sure

Let us know if this helps.
Salon Raj Joshi
wmichael
Staff
Staff

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-sum...

 

 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors