php script created in order to try and balance a ZFS RAID array that was built over time by adding drives to the pool over time.
php main.php /path/to/folder/to/balance
Note: You can use relative or full paths.
Tested on Ubuntu 14.04 64bit with php 5.5.9