#!/bin/bashveid=$(/usr/sbin/vzpid $1 |grep -v "VEID"|awk '{print $2}')if [ -n "$veid" ]then echo $veidelse echo 000fi