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 #50621 is a reply to message #50619] Sun, 22 September 2013 12:33 Go to previous messageGo to previous message
votsalo is currently offline  votsalo
Messages: 26
Registered: December 2011
Location: Greece
Junior Member
postcd wrote on Sun, 22 September 2013 14:13
But there i dont see the mysql process usage for VMs
Then, this is no longer an openvz question. Using the script I gave you, you can tell which CT has high load. Once you know that, you can run a linux command in that CT to find out which process consumes the CPU. For example:
vzctl exec 320 top -b -n 1 | head -20

Or: vzctl exec 320 top -b -n 1 | grep mysql

Also note that all container processes are also HN processes.
So this command on the HN will tell you something about all the mysql processes:

ps -ef | grep mysql

 
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: Wed Aug 20 07:04:01 GMT 2025

Total time taken to generate the page: 0.10974 seconds