Skip to content

Instantly share code, notes, and snippets.

@Kramerican
Kramerican / monitor-lxd-io.php
Last active January 29, 2023 20:47
Quick and dirty LXD container disk i/o monitoring on ZFS filesystems
#DO NOT USE THIS SCRIPT - IT IS GARBAGE. USE NETDATA INSTEAD! IT WILL SOLVE ALL YOUR MONITORING NEEDS AND MORE! https://github.com/firehol/netdata
#!/usr//bin/php
<?php
/*
Quick and dirty command line utility to monitor disk IO for LXD containers
Accepts refresh interval as command line parameter