The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
In Firewall.show_system_resources, only the memory total and memory free metrics are exposed. In unix, total = free + used + buffers, so using memory_free for ram usage computation is inaccurate as it is likely to stay in the high 90s% since unix will use as much buffers as possible
Describe the solution you'd like
It would be nice to expose mem_used (and maybe also mem_buffer?) in this method.
Describe alternatives you've considered
Alternative is doing show system resources manually and parse the output, which is not ideal.
Is your feature request related to a problem?
In
Firewall.show_system_resources
, only the memory total and memory free metrics are exposed. In unix, total = free + used + buffers, so using memory_free for ram usage computation is inaccurate as it is likely to stay in the high 90s% since unix will use as much buffers as possibleDescribe the solution you'd like
It would be nice to expose
mem_used
(and maybe alsomem_buffer
?) in this method.Describe alternatives you've considered
Alternative is doing
show system resources
manually and parse the output, which is not ideal.Additional context