ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label load in each vps in VPS main server. vzpid. Show all posts
Showing posts with label load in each vps in VPS main server. vzpid. Show all posts

2009/10/13

How to find the load and uptime of each nod in a VPS Master server

for i in `vzlist | awk '{print $1}'`; do echo "VPS $i"; vzctl exec $i uptime; done


vzpid processid -- will show which vps contains that process.
Eg:
vzpid 27262
Pid VEID Name
27262 290 httpd