diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-09-29 15:39:50 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-09-29 15:39:50 -0500 |
commit | 419e99faea0ffd33e0b7176bc0ff08927ff67de9 (patch) | |
tree | d5ea75f026f1ea208bd92e46d46cfe2a8f7e729b /templates | |
parent | 7f037a063af0c96ec41f1b15306b690417374f4e (diff) | |
download | vyatta-op-419e99faea0ffd33e0b7176bc0ff08927ff67de9.tar.gz vyatta-op-419e99faea0ffd33e0b7176bc0ff08927ff67de9.zip |
move 'show log tail' to 'monitor log'
Diffstat (limited to 'templates')
-rw-r--r-- | templates/monitor/log/node.def (renamed from templates/show/log/tail/node.def) | 2 | ||||
-rw-r--r-- | templates/monitor/log/node.tag/node.def (renamed from templates/show/log/tail/node.tag/node.def) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/log/tail/node.def b/templates/monitor/log/node.def index e6f3456..3c3413d 100644 --- a/templates/show/log/tail/node.def +++ b/templates/monitor/log/node.def @@ -1,2 +1,2 @@ -help: Show last lines of messages file +help: Monitor last lines of messages file run: tail --follow=name /var/log/messages diff --git a/templates/show/log/tail/node.tag/node.def b/templates/monitor/log/node.tag/node.def index b07bb9e..9f84f5a 100644 --- a/templates/show/log/tail/node.tag/node.def +++ b/templates/monitor/log/node.tag/node.def @@ -1,3 +1,3 @@ -help: Show last changes to messages +help: monitor last changes to messages allowed: echo -n '<NUMBER>' run: tail -n "$4" /var/log/messages | ${VYATTA_PAGER:-cat} |