[SOLVED] Summary of used RAM in a pool

pizza

Renowned Member
Nov 7, 2015
101
10
83
Is there a way to get a summary from the used RAM for all LXC containers in a pool?

ramusage.png
 
Last edited:
Hi
on the command line, you could do something like this. Get the json output and then use jq to add the memory field values:

Code:
pvesh get /pools/<POOL NAME> --output-format json | jq '[.members[].mem] | add'
 
  • Like
Reactions: pizza