Automation

 View Only

Scripting How-To: srx-monitor script

By Erdem posted 08-14-2015 16:18

  

Overview

This script is for performance monitoring on the SRX. This applies to SLAX version 1.0 and higher.

 

Description

 

It makes a clean table to see all the performance of the SRX.

 

Source Code

 

GitHub Links

The source code below is also available from GitHub at the following locations:

 

Example Output

01 This script is for performance monitoring on the SRX.
02  
03 It makes a clean table to see all the performance of the SRX See below:
04 root@SRX5800-1> op srx-monitor
05 Route Engine
06 Slot Mem Size Mem Used CPU Avg CPU User CPU Bkgd CPU Krnl CPU Intpt CPU Idle
07 ----------------------------------------------------------------------------
08    0    2048        15       4        0        0        4         0       96
09 SPUs
10 FPC PIC CPU Mem  Flow Sess Cur   Flow Ses Max     CP Ses Cur     CP Ses Max
11 ----------------------------------------------------------------------------
12   0   0   0  66              0              0              0        4194304
13   0   1   0  49              0