|  | 
	|  | 
	| 
		
			| Re: How to discover which user causing high load? [message #50619 is a reply to message #50599] | Sun, 22 September 2013 11:13   |  
			| 
				
				|  |  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
 |  
	|  |  | 
	|  | 
	|  | 
	| 
		
			| Re: How to discover which user causing high load? [message #50624 is a reply to message #50591] | Mon, 23 September 2013 16:46   |  
			| 
				
				
					|  TOCICI Messages: 5
 Registered: February 2010
 Location: Portland, OR
 | Junior Member |  |  |  
	| postcd wrote on Wed, 18 September 2013 11:13 Hello, please how to discover in linux RHEL, OpenVZ node command line which user causing high mysql (for example) load?I have virtual machines on this OpenVZ node.
 
 The following command will list load average details for all containers on a host:
 
 
 Fast, cost effective & secure OpenVZ based hosting solutions: www.buildyourvps.com
 
 Payment options: Dwolla, PayPal, Bitcoin
 |  
	|  |  | 
	|  |