OpenVZ Forum


Home » Mailing lists » Users » CT console feature
CT console feature [message #45300] Thu, 23 February 2012 14:39 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I am glad to announce CT console feature.

Available in RHEL6-based kernel since 042stab048.1, this feature is
pretty simple to use. Use vzctl attach CTID to attach to this
container's console, and you will be able to see all the messages CT
init is writing to console, or run getty on it, or anything else.

Please note that the console is persistent, i.e. it is available even if
a container is not running. That way, you can run vzctl attach and then
(in another terminal) vzctl start. That also means that if a container
is stopped, vzctl attach is still there.

Press Esc . to detach from the console.

The feature will be available in up-coming vzctl-3.0.31. I have just
made a nightly build of vzctl (version 3.0.30.2-18.git.a1f523f)
available so you can test this. Check
http://wiki.openvz.org/Download/vzctl/nightly for information of how to
get a nightly build.

For anyone interested in user-space implementation of this, check this
git commit:
http://git.openvz.org/?p=vzctl;a=commitdiff;h=a1f523f59a6e321ce2cc6dd42d0f5a660a712339


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Set disk quota on arbitary mount point
Next Topic: New Linux distribution with OpenVZ features
Goto Forum:
  


Current Time: Thu Sep 04 06:20:55 GMT 2025

Total time taken to generate the page: 0.06999 seconds