Monday 3 December 2012

check the load of all vps containers


You can use the any one of the below commands:

 vzlist -o veid,laverage,hostname

 for i in  `vzlist | awk '{print $1}' | grep -v CTID` ; do echo -n "$i --> "; vzctl exec $i cat /proc/loadavg ;  done