OpenVZ Forum


Home » General » Support » How to discover which user causing high load? (OpenVZ node)
Re: How to discover which user causing high load? [message #50619 is a reply to message #50599] Sun, 22 September 2013 11:13 Go to previous messageGo to previous message
postcd is currently offline  postcd
Messages: 73
Registered: April 2013
Member
votsalo wrote on Fri, 20 September 2013 11:38
perhaps you can use a script like this:

for ctid in `vzlist -1`
do
echo $ctid` vzctl exec $ctid uptime`
done

Thx, this script returns list of VMs and their load, uptime like:
320 07:08:34 up 1 day, 45 min, 0 users, load average: 0.12, 0.04, 0.01
330 07:08:34 up 27 days, 50 min, 0 users, load average: 0.21, 0.08, 0.04

The load average is for the VM assigned cpu or for entire node server? But there i dont see the mysql process usage for VMs
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CentOS 6 public static IP routing
Next Topic: 1,2Ghz VPS have load of 4
Goto Forum:
  


Current Time: Thu Oct 17 18:25:09 GMT 2024

Total time taken to generate the page: 0.05523 seconds