- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
5.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
