Hi,
I am currently working on a script to track the traffic usage for the VM's in Proxmox, I have however come to a bit of a holt due to a lack of information.
I am using the following command to get the netin and netout values for the past hour in minute intervals:
which then gives me the following output:
My question is what Unit of measurement (i.e. Byte, KB, MB etc.) is used for the netin and netout metrics?
I have not found this info in the API documentation or in other forum posts sadly.
I am currently working on a script to track the traffic usage for the VM's in Proxmox, I have however come to a bit of a holt due to a lack of information.
I am using the following command to get the netin and netout values for the past hour in minute intervals:
Bash:
root@prx001:/var/log/pn# pvesh get /nodes/prx010/qemu/2235/rrddata --timeframe=hour --output-format=json
which then gives me the following output:
JSON:
{
"cpu": 0.321932621746476,
"disk": 0,
"diskread": 4174774.61333333,
"diskwrite": 343985.493333333,
"maxcpu": 8,
"maxdisk": 805306368000,
"maxmem": 15032385536,
"mem": 8468508117.03333,
"netin": 66113.6333333333,
"netout": 391885.466666667,
"time": 1654613640
},
{
"cpu": 0.241451666020525,
"disk": 0,
"diskread": 2348299.94666667,
"diskwrite": 296543.573333333,
"maxcpu": 8,
"maxdisk": 805306368000,
"maxmem": 15032385536,
"mem": 8475974062.56667,
"netin": 71023.9733333333,
"netout": 130698.82,
"time": 1654613700
},
{
"cpu": 0.229832867969625,
"disk": 0,
"diskread": 2593256.10666667,
"diskwrite": 206160.213333333,
"maxcpu": 8,
"maxdisk": 805306368000,
"maxmem": 15032385536,
"mem": 8612847308.9,
"netin": 96769.06,
"netout": 392454.4,
"time": 1654613760
},
My question is what Unit of measurement (i.e. Byte, KB, MB etc.) is used for the netin and netout metrics?
I have not found this info in the API documentation or in other forum posts sadly.