use i386 VM images depending on 'uname -m'
use pkill instead of ps aux if pkill exists.  It's more reliable
ignore log directory