Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose mem_used in show_system_resources #478

Open
Yamakaky opened this issue Sep 30, 2022 · 1 comment
Open

Expose mem_used in show_system_resources #478

Yamakaky opened this issue Sep 30, 2022 · 1 comment

Comments

@Yamakaky
Copy link

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 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.

Additional context

@welcome-to-palo-alto-networks

🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant