1LXC-CONSOLE(1)                                                  LXC-CONSOLE(1)
2
3
4

NAME

6       lxc-console - Launch a console for the specified container
7

SYNOPSIS

9       lxc-console -n name [-t ttynum] .SH "DESCRIPTION"
10
11       If  the  tty  service has been configured and is available for the con‐
12       tainer specified as parameter,  this  command  will  launch  a  console
13       allowing to log on the container.
14
15       The  available  tty are free slots taken by this command. That means if
16       the container has four ttys available and the command has been launched
17       four  times  taking  the  different  tty,  the  fifth command will fail
18       because no console will be available.
19
20       The command will connect to a tty. If the connection is lost or broken,
21       the  command  can  be launched again and regain the tty at the state it
22       was before the disconnection.
23

OPTIONS

25       -t [ttynum]
26              Specify the tty number to connect, if not specified a tty number
27              will be automatically choosen by the container.
28

COMMON OPTIONS

30       These options are common to most of lxc commands.
31
32       -?, -h, --help
33              Print a longer usage message than normal.
34
35       --usage
36              Give the usage message
37
38       -q, --quiet
39              mute on
40
41       -o, --logfile=FILE
42              Output to an alternate log FILE. The default is no log.
43
44       -l, --logpriority=LEVEL
45              Set  log  priority  to LEVEL. The default log priority is ERROR.
46              Possible values are : FATAL, CRIT, WARN,  ERROR,  NOTICE,  INFO,
47              DEBUG.
48
49              Note  that this option is setting the priority of the events log
50              in the alternate log file. It do not have effect  on  the  ERROR
51              events log on stderr.
52
53       -n, --name=NAME
54              Use  container identifier NAME.  The container identifier format
55              is an alphanumeric string.
56

DIAGNOSTIC

58       tty service denied
59              No tty is available or there is not enough privilege to use  the
60              console.  For  example,  the container belongs to user "foo" and
61              "bar" is trying to open a console to it.
62

SEE ALSO

64       lxc(1), lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1),  lxc-
65       execute(1),  lxc-kill(1),  lxc-console(1), lxc-monitor(1), lxc-wait(1),
66       lxc-cgroup(1), lxc-ls(1), lxc-ps(1), lxc-info(1),  lxc-freeze(1),  lxc-
67       unfreeze(1), lxc.conf(5)
68

AUTHOR

70       Daniel Lezcano <daniel.lezcano@free.fr>
71
72
73
74                         Mon Jul 26 17:09:32 UTC 2010           LXC-CONSOLE(1)
Impressum