elmariofredo / proxmox-resource-usage-report

Extract all virtuals and then extract their CPU share and RAM MB usage in CSV format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxmox generate resource usage CSV report

Based on https://pve.proxmox.com/wiki/Proxmox_VE_API it will loop thru the API, extract all virtuals and group them by first part of the name ( splitted by - ) and then extract their CPU share and RAM MB usage.

Setup

  1. Install golang
  2. Install direnv
  3. Setup credentials in .envrc based on .envrc_example
  4. Allow direnv direnv allow

Run

go run main.go

About

Extract all virtuals and then extract their CPU share and RAM MB usage in CSV format.


Languages

Language:Go 100.0%