Admin-Ahead Community

Linux => Virtualization => Topic started by: lijeshk on November 19, 2013, 02:00:12 am

Title: How to check the load of all vps containers?
Post by: lijeshk on November 19, 2013, 02:00:12 am

We can use the any one of the below commands:

 
Code: [Select]
#vzlist -o veid,laverage,hostname
or

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