Technical Tip: Explaining the 'diagnose hard sysinfo memory' command
| Description | This article describes how the 'diagnose hard sysinfo memory' command is usually used for memory troubleshooting. |
| Scope | All versions of FortiOS. |
| Solution | To see the memory allocated by the kernel the following commands show the same outputs and can be used:
get hardware memory fnsysctl cat /proc/meminfo diagnose hard sysinfo memory
Here is how to read this command to determine the memory of the device during troubleshooting:
diagnose hard sysinfo memory
Refer to the Linux documentation for more details: proc.txt -> search for '/proc/meminfo'. Super Admin privilege is required to run the 'fnsysctl' command. Otherwise, FortiGate will return an error, as explained in this KB article: Troubleshooting Tip: fnsysctl command returns Unknown action 0 |
