Skip to main content
gcortes1
Staff
Staff
December 26, 2024

Technical Tip: How to calculate the percentage of MemAvailable displayed in the Dashboard of FortiAuthenticator

  • December 26, 2024
  • 0 replies
  • 240 views
Description This article describes how to calculate the MemAvailable displayed in the Dashboard.
Scope FortiAuthenticator, FortiAuthenticator-VM.
Solution

While diagnosing the memory consumption on FortiAuthenticator, the 'get hardware memory' is run in FortiAuthenticator via SSH.

 

This command gives the below output with a few more parameters:

 

get hardware memory
### Memory info
MemTotal: 2045340 kB
MemFree: 443636 kB
MemAvailable: 613672 kB

 

The formula for calculating the percentage is the following:

  • ((MemAvailable/MemTotal)*100)= % Of MemAvailable.

 

For this example:

  • ((613672/2045340)*100)=30.00342241.

 

FAC-Memory.png

 

MemTotal: The amount of RAM, in Kilobytes.
MemAvailable: The amount of memory, available for starting new applications, without swapping.