Technical Tip: Deprecated of command '# diagnose sys top-summary'
Description
This article describes that, starting from version 6.4.0, 'top-summary' has been removed from diagnose system.
Related document.
https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/963e86d6-1224-11ea-9384-00505692583a/fortios-v6.4.0-release-notes.pdf
Solution
The following commands can use to extract the CPU and memory information:
For CPU.
# diagnose sys mpstat <delay> <loops> <----- Display information about the CPU use after the specified number of seconds <delay> and for the specified number of loops <loops>.
For Memory.
# diagnose hardware sysinfo memory
For CPU and Memory (user space).
# diagnose sys top <delay> <number of processes>
By using '# diagnose hardware sysinfo memory', all of the memory counters involved in the conserve mode and kernel conserve mode calculation can be seen.
