for ctid in `vzlist -SHo ctid`; do vzctl start $ctid; done
if you want stop all running OpenVZ containers:
for ctid in `vzlist -aHo ctid`; do vzctl stop $ctid; done
for ctid in `vzlist -SHo ctid`; do vzctl start $ctid; done
if you want stop all running OpenVZ containers:
for ctid in `vzlist -aHo ctid`; do vzctl stop $ctid; done