How to install vztop command in centos

Take vzprocps tools from http://download.openvz.org/contrib/utils/ . These are usual ps and top utilities (named vztop and vzps to not conflict with the standard ones) with an -E option added. You can use -E CTID option to limit the output to the selected CTID (use 0 for the host system), or just -E without an argument to just add CTID column to output.

 

Download the below file using

wget http://download.openvz.org/contrib/utils/vzprocps-2.0.11-6.13.swsoft.i386.rpm
rpm -ivh vzprocps-2.0.11-6.13.swsoft.i386.rpm

Example:

#vzps axf -E 500
#vztop and then press c