Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to check the load of all vps containers?  (Read 2722 times)

0 Members and 1 Guest are viewing this topic.

lijeshk

  • Guest
How to check the load of all vps containers?
« 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
--