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

Debug CPU usage

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 2
abarushka
Staff
Staff

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
Valued Contributor

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

Yuri
https://yurisk.info/ blog: All things Fortinet, no ads.


All opinions are mine only.