.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "LXC-MONITOR" "1" "Mon Dec 16 11:31:06 UTC 2013" "" "" .SH NAME lxc-monitor \- monitor the container state .SH SYNOPSIS \fBlxc-monitor \fI-n name\fB \fR .SH "DESCRIPTION" .PP \fBlxc-monitor\fR monitors the state of the specified containers. The \fIname\fR can be a regular expression, conforming with posix2, so it is possible to monitor all the containers, several of them or just one. .SH "COMMON OPTIONS" .PP These options are common to most of lxc commands. .TP \fB-?, -h, --help\fR Print a longer usage message than normal. .TP \fB--usage\fR Give the usage message .TP \fB-q, --quiet\fR mute on .TP \fB-o, --logfile=\fIFILE\fB\fR Output to an alternate log \fIFILE\fR\&. The default is no log. .TP \fB-l, --logpriority=\fILEVEL\fB\fR Set log priority to \fILEVEL\fR\&. The default log priority is ERROR\&. Possible values are : FATAL, CRIT, WARN, ERROR, NOTICE, INFO, DEBUG\&. Note that this option is setting the priority of the events log in the alternate log file. It do not have effect on the ERROR events log on stderr. .TP \fB-n, --name=\fINAME\fB\fR Use container identifier \fINAME\fR\&. The container identifier format is an alphanumeric string. .SH "BUGS" .PP Only one \fBlxc-monitor\fR can run at a time. Other invocations will fail with the following error: .PP lxc-monitor: bind : Address already in use .SH "EXAMPLES" .TP \fBlxc-monitor -n foo\fR will monitor the different states for container foo. .TP \fBlxc-monitor -n 'foo|bar'\fR will monitor the different states for container foo and bar. .TP \fBlxc-monitor -n '[f|b].*'\fR will monitor the different states for container with the name beginning with letter 'f' or 'b'. .TP \fBlxc-monitor -n '.*'\fR will monitor the different states for all containers. .SH "DIAGNOSTIC" .TP \fBThe container was not found\fR The specified container was not created before with the \fBlxc-create\fR command. .SH "SEE ALSO" .PP \fBregex\fR(7), .SH "SEE ALSO" .PP \fBlxc\fR(1), \fBlxc-create\fR(1), \fBlxc-destroy\fR(1), \fBlxc-start\fR(1), \fBlxc-stop\fR(1), \fBlxc-execute\fR(1), \fBlxc-kill\fR(1), \fBlxc-console\fR(1), \fBlxc-monitor\fR(1), \fBlxc-wait\fR(1), \fBlxc-cgroup\fR(1), \fBlxc-ls\fR(1), \fBlxc-ps\fR(1), \fBlxc-info\fR(1), \fBlxc-freeze\fR(1), \fBlxc-unfreeze\fR(1), \fBlxc-attach\fR(1), \fBlxc.conf\fR(5) .SH "AUTHOR" .PP Daniel Lezcano