summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-03-27 14:59:38 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-12-05 12:16:06 +0100
commite92e06bdc740acae4ca9bc03368208cfb6daf286 (patch)
treed4da0b6267e83498cba63033c9c4ee37fb158ac1 /man
parent9b49284f0c9eefa892c83d5120e2f2af2dbce449 (diff)
downloadNetworkManager-e92e06bdc740acae4ca9bc03368208cfb6daf286.tar.gz
cli,connections: add connection monitor
Diffstat (limited to 'man')
-rw-r--r--man/nmcli.1.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in
index fef275d23f..d24a1cb159 100644
--- a/man/nmcli.1.in
+++ b/man/nmcli.1.in
@@ -278,7 +278,7 @@ be saved as two connections which both apply to eth0, one for DHCP (called
connected to the DHCP-enabled network the user would run "nmcli con up default"
, and when connected to the static network the user would run "nmcli con up testing".
.TP
-.SS \fICOMMAND\fP := { show | up | down | add | edit | modify | delete | reload | load }
+.SS \fICOMMAND\fP := { show | up | down | add | edit | modify | delete | monitor | reload | load }
.sp
.RS
.TP
@@ -779,6 +779,18 @@ See \fBconnection show\fP above for the description of the <ID>-specifying keywo
.br
If '--wait' option is not specified, the default timeout will be 10 seconds.
.TP
+.B monitor [ id | uuid | path ] <ID> ...
+.br
+Monitor connection profile activity. This command prints a line whenever the
+specified connection changes. The connection to be monitored is identified by
+its name, UUID or D-Bus path. If <ID> is ambiguous, a keyword \fIid\fP,
+\fIuuid\fP or \fIpath\fP can be used.
+.br
+See \fBconnection show\fP above for the description of the <ID>-specifying keywords.
+.br
+Monitors all connection profiles in case none is specified. The command terminates
+when all monitored connections disappear.
+.TP
.B reload
.br
Reload all connection files from disk. \fINetworkManager\fP does not monitor