List loads of all VPS nodes in a main node

Run any of the below mentioned commands.

for i in `vzlist -a|grep running|awk {‘print $1’}`; do echo $i:$(vzctl exec $i cat  /proc/loadavg|awk {‘print $1’});done;

Or

vzlist -o veid, laverage

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.