util-vserver命令解析.docx_第1页
util-vserver命令解析.docx_第2页
util-vserver命令解析.docx_第3页
util-vserver命令解析.docx_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Vserver命令列表VSERVER(8) System Administration VSERVER(8)NAME vserver - The vserver utility enables you to manage the state of vservers, including building, starting, stopping, etc.SYNTAX vserver -s|-sync -v|-verbose -silent - vserver command -help args* -sync - Perform synchronization with vshelper to ensure that the guest has been stopped -verbose - Makes things a lot louder. -silent - Removes most informative messages. vserver - The name of a vserver. command - One of the commands listed below. -help -help provides additional help for provided command, for example: vserver - build -help args are the arguments that are possible for the different commands, see the arguments for each command listed belowCOMMANDS start -rescue -rescue-init program args Starts the specified vserver. The optional argument -rescue starts the vserver in rescue mode, which runs program args* to start the vserver instead of whatever is configured. The optional argument -rescue-init makes the command appear as PID 1 in the vserver. This can be used to start /bin/bash to inves- tigate why a vserver is not able to start correctly. stop -rescue-init Stops the specified vserver, and kills the remaining processes. The optional argument -rescue-init can be used to stop a vserver that was started with the option of the same name. restart Restarts the specified vserver. This is the subsequent execution of a synchronized stop and a start. condrestart Restarts a running vserver. suexec user program args* Executes program args* as the specified user in the vserver. exec program args* Executes program args* as the root user in the vserver. enter Executes the configured shell (default: /bin/bash if it exists) in the vserver and allocates a pty. chkconfig chkconfig-options* Modifies the init-system; currently, only Red Hats chkconfig is supported. running Returns an exit code of 0 iff the vserver is running, 1 if not. status Provides some human readable status information about the vserver, and succeeds iff the vserver is running. build buildopts* Create a vserver from scratch, where the buildopts* are a set of options and a build method. As this option calls vserver-build, please see vserver-build(8) for a complete listing of possible options and methods. delete Remove a vserver.: unify -R vunify-opts* Unify or de-unify the vserver with its reference vserver(s). pkg install pkg* Installs package(s) pkg in the vserver. apt-get,apt-config,apt-cache apt-opts* Execute the apt-* command for the given vserver rpm rpm-opts* Execute the rpm command for the given vserver. pkgmgmt externalize|internalize -y Externalize or internalize the package-management for the given vserver. Externalize means that package metadata and manage- ment tools (apt-get,rpm) are living in the host, while inter- nalize means that data and programs from the vserver will be: hashify Hashify the vserver.FILES /usr/sbin/vserver /etc/vservers/* /var/lib/vservers/*EXAMPLES Please contribute some, if you feel its important.AUTHORS This man page was written by Micah Anderson and based upon the hel

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论