top of page
Search

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

 
 
 

Recent Posts

See All
clear script

#!/bin/bash rm -f ./cleanspace.sh bold=$(tput bold) normal=$(tput sgr0) TIMESTAMP=$(date +%d-%m-%Y-%H-%M) LOGFILE="/root/cleardisk-$TIME...

 
 
 
innodb restore

Create a new folder: mkdir /var/lib/mysql2 From R1: Restore from the /var/lib/mysql folder: + The folder which is called the db name...

 
 
 
Scripts

#not wordpress site grep shop2vizag.com /var/log/messages | awk '{print $6}' | cut -d: -f1 |sort -n |uniq -c |sort -n #Domains using...

 
 
 

Comments


  • White Facebook Icon
  • White Twitter Icon
  • White Instagram Icon
  • White YouTube Icon

© 2023 by Knowledge4mind. Proudly created with Wix.com

bottom of page