#!/bin/bash
while :
do
ps -C vpxd --no-header >/dev/null 2>&1
if [ $? -eq 1 ];then
/etc/init.d/vmware-vpxd start
fi
sleep 5
done
转载于:https://blog.51cto.com/lzspf/1229666
#!/bin/bash
while :
do
ps -C vpxd --no-header >/dev/null 2>&1
if [ $? -eq 1 ];then
/etc/init.d/vmware-vpxd start
fi
sleep 5
done
转载于:https://blog.51cto.com/lzspf/1229666