monitor
Syntax
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 bysyslogare those configured with thesyslogstatement at the[edit system]hierarchy level and theoptionsstatement at the[edit routing-options]hierarchy level. The trace files generated by the routing protocol process are those configured withtraceoptionsstatements at the[edit routing-options],[edit interfaces], and[edit protocolsprotocol]hierarchy levels.For explanation of specific errors, see the
show interfaces extensivecommand.Options
list—Display status of monitored files.
start—Start displaying the file contents.
stop—Stop displaying the file contents.Required Privilege Level
See Also
show interfacesandmonitor trafficin 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 912Jul 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.comJul 20 15:07:37 hang sshd[5847]: log: executing remote command as root: scp -t /tmpJul 20 15:07:37 hang sshd[5845]: log: Closing connection to 204.69.248.180