Skip to end of metadata
Go to start of metadata

Introduction

This how-to article provides the steps required to list processes and memory use in Fortinet Fortigate


Step 1: Connect to Fortigate via SSH or use the Web CLI


Step 2: Issue the diagnose command to list the Fortigate processes

Example
diagnose sys top-summary

Press "m" to sort by memory or "c" to sort by CPU

Sample output from command
  CPU [||||||||||||||||||||||||||||||||||||||||] 100.0%
   Mem [||||||||||||                            ]  32.0%   596M/1839M
   Processes: 20 (running=2 sleeping=93)

   PID      RSS  ^CPU% MEM%   FDS     TIME+  NAME
 * 2018     23M   66.1  1.3    17  00:05.65  netscan
   102      28M   28.9  1.5    12  02:26.38  sshd [x4]
   84       10M    0.9  0.6    48  00:03.29  proxyd [x2]
   62       90M    0.8  4.9    90  01:11.80  ipsmonitor [x3]
   92       16M    0.8  0.9    26  00:40.35  hasync
   96       15M    0.8  0.8    17  00:42.98  src-vis
   76       23M    0.4  1.3    14  00:45.85  reportd
   86       17M    0.4  1.0    80  00:33.97  wad [x3]
   90       11M    0.4  0.6    24  00:01.25  dhcpd
   121      15M    0.4  0.8    18  00:30.28  fcnacd
   1889     26M    0.0  1.5    12  00:01.23  pyfcgid [x4]
   39       32M    0.0  1.8    12  00:51.60  cmdbsvr
   135      13M    0.0  0.7    15  00:06.58  updated
   45       11M    0.0  0.6    88  00:01.55  zebos_launcher [x12]
   56       10M    0.0  0.6    12  00:00.10  uploadd
   57       26M    0.0  1.4    63  00:08.69  miglogd [x2]
   58       10M    0.0  0.6     9  00:00.00  kmiglogd
   59       38M    0.0  2.1    17  01:35.92  httpsd [x4]
   61       10M    0.0  0.6     8  00:00.00  getty
   64       10M    0.0  0.6    11  00:00.50  merged_daemons