ttkciar@alien.topBtoSelf-Hosted Main@selfhosted.forum•How to track total data consumption??English
1·
1 year agoI just have a cron job that runs “ifconfig | logger” once a week. When I want to know how much data has been sent or received, I subtract the RX bytes or TX bytes from the appropriately timestamped entries and divide by the time difference. Easy-peasy.
On one hand, I think VMs are overused, introduce undue complexity, and reduce visibility.
On the other hand, the problem you’re citing doesn’t actually exist (at least not on Linux, dunno about Windows). A VM can use all of the host’s memory and processing power if the other VMs on the system aren’t using them. An operating system will balance resource utilization across multiple VMs the same as it does across processes to maximize the performance of each.