[Contents] [Prev] [Next] [Index] [Report an Error]


monitor

Syntax

monitor (start | stop) list

Description

Display the end of system log or trace files and additional entries being added to those files.

Log files are generated by the routing protocol process or by syslog. The log files generated by syslog are those configured with the syslog statement at the [edit system] hierarchy level and the options statement at the [edit routing-options] hierarchy level. The trace files generated by the routing protocol process are those configured with traceoptions statements at the [edit routing-options], [edit interfaces], and [edit protocols protocol ] hierarchy levels.

For explanation of specific errors, see the show interfaces extensive command.

Options

list—Display status of monitored files.

start—Start displaying the file contents.

stop—Stop displaying the file contents.

Required Privilege Level

trace

See Also

show interfaces and monitor traffic in JUNOS Internet Software Operational Mode Command Reference: Interfaces.

Output Fields

*** filename ***—Name of the file from which entries are being displayed. This line is displayed initially and when the command switches between log files.

Sample Output

user@host> monitor start system-log
*** system-log***
Jul 20 15:07:34 hang sshd[5845]: log: Generating 768 bit RSA key.
Jul 20 15:07:35 hang sshd[5845]: log: RSA key generation complete.
Jul 20 15:07:35 hang sshd[5845]: log: Connection from 204.69.248.180 port 912
Jul 20 15:07:37 hang sshd[5845]: log: RSA authentication for root accepted.
Jul 20 15:07:37 hang sshd[5845]: log: ROOT LOGIN as 'root' from trip.jcmax.com
Jul 20 15:07:37 hang sshd[5847]: log: executing remote command as root: scp -t /
tmp
Jul 20 15:07:37 hang sshd[5845]: log: Closing connection to 204.69.248.180

[Contents] [Prev] [Next] [Index] [Report an Error]