ABHIONLINUX
Site useful for linux administration and web hosting

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

No comments:

Post a Comment