24
edits
Changes
no edit summary
I found myself often faced with a need to run the same command in all VEs, e.g. ''apachectl restart'' to restart all webservers or ''dmesg | tail'' to see the latest news from everybody.
<code>
for veid in `vzlist -Hoveid`; do vzctl exec $veid COMMAND; done