pvesh get /cluster/resources --type node --output-format json | \
jq -r '
["Node","Status","CPU %","Cores","RAM used GiB","RAM total GiB","Disk used GiB","Disk total GiB"],
(.[] | [
.node,.status,
(((.cpu // 0)*100)|round),
.maxcpu,
(((.mem // 0)/1073741824*100)|round/100),
(((.maxmem // 0)/1073741824*100)|round/100),
(((.disk // 0)/1073741824*100)|round/100),
(((.maxdisk // 0)/1073741824*100)|round/100)
]) | @csv' > pve-summary.csv