Created on
06-01-2022
11:54 PM
Edited on
12-30-2024
12:34 AM
By
Jean-Philippe_P
This article describes how to use the ' diagnose sys top-mem' command from the CLI prompt.
Scope
FortiGate.
This command displays processes with the most used memory (default 5 processes).
This command is very helpful in identifying the top processes that consume the most memory, especially when the FortiGate is in conserve mode or has a higher memory usage.
Example output:
diag sys top-mem
node (165): 44189kB
forticron (173): 29644kB
ipshelper (227): 24577kB
cmdbsvr (142): 20290kB
miglogd (182): 12413kB
Top-5 memory used: 131113kB
diag sys top-mem 10
node (165): 44861kB
forticron (173): 29612kB
ipshelper (227): 24742kB
cmdbsvr (142): 20263kB
miglogd (182): 12405kB
cw_acd (210): 10705kB
miglogd (245): 7202kB
forticldd (174): 7042kB
dnsproxy (225): 6951kB
nsm (149): 6461kB
Top-10 memory used: 170244kB
The command understands different parameters.
diagnose sys top-mem
[process-count] Number of processes to include info for (default 5).
detail Display per-process memory info along with details (default 5 processes).
To list only the top 5 processes using most memory:
diagnose sys top-mem 99
To list more details for each process use the 'detail' parameter:
diagnose sys top-mem detail
To list more details and specify the number of processes to list:
diagnose sys top-mem detail 99
Visit the link below and reference the article to check which process takes high memory through FortiGate GUI.
Technical Tip: How to view, verify and kill the processes consuming more memory in the GUI
Related article:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.