Verifying Performance on Juniper

A few show commands to verify the performance of routers with JUNOS:

  • show system processes extensive
    • check the output below if the processes ”’sampled”’ and ”’rpd”’ are using too much memory.
      • sampled is responsible for sending Netflow data
      • rpd does the routing
  • show chassis routing-engine
    • sample output below
  • show route summary
    • sample output below
  • show task memory [detail]
  • show system alarms
admin@MX5_1>show system processes extensive
last pid: 22341;  load averages:  0.02,  0.05,  0.06  up 458+18:32:28    12:33:21
147 processes: 4 running, 116 sleeping, 27 waiting

Mem: 1202M Active, 254M Inact, 299M Wired, 162M Cache, 112M Buf, 66M Free
Swap: 2821M Total, 2821M Free


  PID USERNAME     THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
   10 root           1 171   52     0K    16K RUN       ??? 94.53% idle
 1372 root          11 101    0 19728K 10276K ucond  270.6H  0.98% clksyncd
 3523 root           1 111   15   131M   121M select  65.3H  0.78% sampled
   12 root           1 -20 -139     0K    16K RUN     78.6H  0.00% swi7: clock
 1463 root           1   4    0   712M   661M kqread  33.5H  0.00% rpd
 1476 root           1  96    0 77240K 28196K select  25.1H  0.00% authd
 1355 root           1  96    0   129M 18620K select  24.7H  0.00% chassisd
[...output supressed]

admin@MX5_1>show chassis routing-engine 
Routing Engine status:
    Temperature                 44 degrees C / 111 degrees F
    CPU temperature             54 degrees C / 129 degrees F
    DRAM                      2048 MB (2048 MB installed)
    Memory utilization          89 percent
    CPU utilization:
      User                       0 percent
      Background                 0 percent
      Kernel                     2 percent
      Interrupt                  1 percent
      Idle                      97 percent
    Model                          RE-MX5-T
    Serial ID                      S/N ABCR3264
    Start time                     2016-03-12 18:01:30 BRT
    Uptime                         458 days, 18 hours, 32 minutes, 7 seconds
    Last reboot reason             Router rebooted after a normal shutdown.
    Load averages:                 1 minute   5 minute  15 minute
                                       0.01       0.05       0.06

admin@MX5_1>show route summary 
Autonomous system number: 264102
Router ID: 200.0.85.21

inet.0: 647019 destinations, 647020 routes (647019 active, 0 holddown, 0 hidden)
              Direct:      5 routes,      5 active
               Local:      5 routes,      5 active
                 BGP: 647004 routes, 647004 active
              Static:      6 routes,      5 active

inet6.0: 38082 destinations, 38083 routes (38082 active, 0 holddown, 0 hidden)
              Direct:      5 routes,      4 active
               Local:      6 routes,      6 active
                 BGP:  38071 routes,  38071 active
           Aggregate:      1 routes,      1 active

 

Leave a Reply

Your email address will not be published. Required fields are marked *