Bash script to restart vpxd on crash Posted on April 11, 2017June 26, 2019 by Nithin Titta while sleep 10; do date; if service-control --status vmware-vpxd | fgrep "Running:" ; then echo Good; else date >> /tmp/vpxdcrash.log; service-control --start vmware-vpxd; fi; done