Update bin/monitor.php

Adds post process monitoring, changes to sleep etc..