Skip to main content
fortipower
New Member
June 8, 2020
Question

Debug CPU usage

  • June 8, 2020
  • 2 replies
  • 2201 views

Hello,

We faced to a high CPU usage last week, and I want to know if it's possible to have the features which was used the CPU. I know you can see the current cpu usage but for a past day I don't know.

Thanks in advance

2 replies

abarushka
Staff
Staff
August 26, 2022

Hello,

In order to find the reason of high CPU usage it is necessary to collect performance logs below while high CPU usage is observed:

 

get system performance status
diagnose sys top 5 99

Yurisk
SuperUser
SuperUser
August 28, 2022

Status as of 2022: It is still not possible to get detailed stats on CPU/mem usage back in time on the FOrtigate itself (I mean like cpview on Check Point firewalls).  

If you have a FortiAnalyzer, then Fortigate sends every 5 mins (if I remember correct) CPU and memory usage to FAZ (System Events Logs), where it can be easily filtered and downloaded as CSV/XLS file. 

 

Even though, starting with FortiOS 7.2 we have a nice GUI process monitor, it shows its information  just 40 seconds back. 

 

Regarding high CPU usage debug, there are plenty of resources to start with:

 

https://docs.fortinet.com/document/fortigate/6.2.11/cookbook/232929/troubleshooting-high-cpu-usage 

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Basic-Troubleshooting-on-high-memory-or-high-CPU/ta-p/191669