Open VZ Commands
- knowledgediary4min
- Mar 2, 2020
- 1 min read
#BASIC OPENVZ COMMANDS
vzctl Utility to control Virtual Private Servers.
vzlist To see list of VPS existing on a node with additional details
vzctl status CTID shows the status of container
vzctl set CTID --hostname New_hostname --save
vzctl set CTID --ipadd xx.xx.xx.xx --save
To execute a command :
>> vzctl exec 101 command
Logs : /var/log/messages
/var/log/syslog
>> vzctl exec CTID command
vzquota Utility to control open VZ quotas.
vzpkgls Utility to get a list of templates available on the hardware node and in VPS
vzpkgcache Create/Update set of template caches.
vzrpm Simple rpm wrapper to use rpm with a particular VPS
vzyum Yum wrappers to use yum with a particular server
vzdqcheck Print file spae curreent usage from quotas point of view.
vzdqdump Utilities to dump the user/group quota limits and grace times from the kernel or the quota file or for loading and them to a quota file
vzdqload
vzcpucheck Utility for checking CPU utilization by VPS
vzmemcheck Utlity for checkig the HN and VPS current memory parameters
vzcalc Utility to calculate resource usage by a VPS
vzpid Utility that prints the VPS id the process belongs to
vzsplit Utility to generate VPS conf file sample
vzcfgvalidate Utility to validate VPS conf file for correctness.
#Open VZ commands
http://linuxbytknalla.blogspot.in/2012/12/openvz-commands.html
https://download.openvz.org/doc/OpenVZ-Users-Guide.pdf#page=91
#Basic container opertaions in Open VZ
https://openvz.org/Basic_operations_in_OpenVZ_environment
#KVM Commands
https://help.ubuntu.com/community/KVM/Virsh
Comments