Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    monitor start (Analytics)

    Syntax

    monitor start filename

    Release Information

    Command introduced in Junos OS Release 13.2 for the QFX Series.

    Statement introduced in Junos OS Release 13.2X51-D25 for EX Series switches.

    Description

    Start the display of the queue statistics or traffic statistics file if you had enabled queue or traffic monitoring on your device. The output is displayed in the JavaScript Object Notation (JSON) format.

    Note: This topic describes the local file output in Junos OS Release 13.2X50-D15 and 13.2X51-D10 only. For information about 13.2X51-D15 and later, see Understanding Enhanced Analytics Local File Output

    Options

    filename

    Name of the queue statistics or traffic statistics file.

    Additional Information

    Required Privilege Level

    trace

    List of Sample Output

    monitor start Using the Queue Statistics File (Junos OS Release 13.2X51-D10)
    monitor start Using the Queue Statistics File (Junos OS Release 13.2X50-D15)
    monitor start Using the Traffic Statistics File (Junos OS Release 13.2X51-D10)
    monitor start Using the Traffic Statistics File (Junos OS Release 13.2X50-D15)

    Output Fields

    Table 1 describes the output fields for the monitor start command. Output fields are listed in the approximate order in which they appear.

    Table 1: monitor start Command Output Fields

    Field

    Description

    hostname (used in Junos OS Release 13.2X50-D15 only)

    Name of the network analytics host device.

    record type

    Type of statistics. May be queue statistics or traffic statistics.

    time

    Time at which the statistics were captured.

    router-id

    ID of the network analytics host device.

    latency

    For queue statistics only. Traffic queue latency in milliseconds.

    port

    Name of the physical port configured for network analytics.

    queue depth

    For queue statistics only. Depth of the traffic queue in bytes.

    rxpkt

    For traffic statistics monitoring only. Total packets received.

    rxpps

    For traffic statistics monitoring only. Total packets received per second.

    rxbyte

    For traffic statistics monitoring only. Total bytes received.

    rxbps

    For traffic statistics monitoring only. Total bytes received per second.

    rxdrop

    For traffic statistics monitoring only. Total incoming packets dropped.

    rxerr

    For traffic statistics monitoring only. Total packets with errors.

    rxutil (in Junos OS Release 13.2X50-D15 only)

    For traffic statistics monitoring only. Total percent of traffic utilization for incoming traffic.

    txpkt

    For traffic statistics monitoring only. Total packets transmitted.

    txpps

    For traffic statistics monitoring only. Total packets transmitted per second.

    txbyte

    For traffic statistics monitoring only. Total bytes transmitted.

    txbps

    For traffic statistics monitoring only. Total bytes transmitted per second.

    txdrop

    For traffic statistics monitoring only. Total transmitted bytes dropped.

    txerr

    For traffic statistics monitoring only. Total transmitted packets with errors (dropped).

    txutil (in Junos OS Release 13.2X50-D15 only)

    For traffic statistics monitoring only. Total percent of traffic utilization for outgoing traffic.

    Sample Output

    monitor start Using the Queue Statistics File (Junos OS Release 13.2X51-D10)

    user@host> monitor start analytics.qs

    {"record-type":"queue-stats","time":"2013 Nov 3 4:40:42.840", "router-id":"qfx5100-switch","port":"xe-0/0/18","latency":0,"queue-depth":208} {"record-type":"queue-stats","time":"2013 Nov 3 4:40:44.887", "router-id":"qfx5100-switch","port":"xe-0/0/18","latency": 1110,"queue-depth": 1387568}

    monitor start Using the Queue Statistics File (Junos OS Release 13.2X50-D15)

    user@host> monitor start analytics.qs

    {"hostname":"sw-la-pb-03","latency":566,"port":xe-0/0/9,"queue depth":708656, "record type":"queue-stats","time":"Apr 11 20:18:40.329"}

    Sample Output

    monitor start Using the Traffic Statistics File (Junos OS Release 13.2X51-D10)

    user@host> monitor start analytics.ts

    {"record-type":"traffic-stats","time":"2013 Nov 3 4:39:53.910", "router-id":"qfx5100-switch","port":"xe-0/0/18","rxpkt":23193749091,"rxpps":8299889, "rxbyte":2968799876957,"rxbps":824002992,"rxdrop":0,"rxerr":0,"txpkt":1029323986, "txpps":82671,"txbyte":131753470470,"txbps":85598256,"txdrop":0,"txerr":0}

    monitor start Using the Traffic Statistics File (Junos OS Release 13.2X50-D15)

    user@host> monitor start analytics.ts

    {"hostname":"sw-la-pb-03","port":"xe-0/0/9","record type":"traffic-statistics", "time":"Apr 11 20:13:48.545", "rxpkt":601024640, "rxpps": 840315, "rxbyte":76931153920, "rxbps":863997032, "rxdrop":0, "rxerr":0, "rxutil":8.32,"txpkt":336551380309, "txpps":405395,"txbyte":23369872265951,"txbps":3240000976,"txdrop":1010566660824, "txerr":69920099883860,"txutil":32.76}

    Modified: 2016-06-23