How to calculate the actual used MP memory

How to calculate the actual used MP memory

78335
Created On 01/14/20 23:54 PM - Last Modified 03/11/24 20:15 PM


Objective


The aim of this article is to show how to calculate the actual used management plane memory on the firewall. 
 


Environment


  • NGFW
  • PAN-OS 8.1 and below


Procedure


  1. To view real-time memory and CPU usage, run the command:  
    show system resources
  2. To calculate the used memory: 
    Used Mem= (used)-(Buffers +Cached)
 
 
      Sample example is provided below:
 
      In this example we see that used memory is 3594124k.
           
2020-01-10 15:13:42.847 +0800 --- top_summary
top - 15:13:42 up 52 days, 2:51, 0 users, load average: 0.46, 0.41, 0.45
Tasks: 114 total, 3 running, 111 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.4%us, 3.5%sy, 0.7%ni, 88.6%id, 0.4%wa, 0.0%hi, 0.4%si, 0.0%st
Mem: 3849872k total, 3594124k used, 255748k free, 74612k buffers
Swap: 3056660k total, 797204k used, 2259456k free, 1486208k cached
          The Linux based system memory calculation or the actual used value can be calculated as:
  • Used Mem = 3594124k used - (74612k buffers + 1486208k cached)
  • Hence, for the above Firewall Used Mem = 2033304K 
  • From the calculation we see that the actual used memory is 2033304K .


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000POEKCA4&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language