Displaying script information – Brocade Virtual ADX OpenScript Programmer’s Guide (Supporting ADX v03.1.00) User Manual
Page 27

Brocade Virtual ADX OpenScript Programmer’s Guide
19
53-1003244-01
Displaying script information
3
The syslog parameter sets the script to log to a log server, not the local log of the Brocade Virtual
ADX (show logging). You must configure a remote server (per the global logging ip-addr command)
to receive the log. The syslog server cannot be connected to the management port because script
log action is processed by the BP, and the management port is controlled by the MP.
The none parameter disables the script from printing.
Using the no parameter before the command returns the script print output to the default value.
Displaying script information
The following sections describe the OpenScript information that can be displayed on a Brocade
Virtual ADX.
Displaying run-time information about one or all scripts
Run-time information about a script can be displayed, as shown in the following example.
Syntax: show script script-name [detail virtual-server-name port ]
The script-name variable allows you to specify script for which to display information. If a script is
not specified, a list of the scripts stored on the Brocade Virtual ADX will be displayed.
The detail parameter displays additional statistics about the script, as described in
. You
can customize the statistics displayed by specifying a virtual server and port. If you do not use the
virtual-server-name and port variables, statistics are displayed for all ports.
VirtualADX# show script myscript.pl detail vip1 http
Script myscript.pl
=============================================================================
Virtual Server: vip1
Service-Port: http
Script State: ACTIVE
Last Updated:
Script Restart: 0
Total Connections: 61
Concurrent Connections: 0
Error Counters:
Unknown: 0
Exceed Memory Limit: 0
Exceed Data Collection Limit: 0
Exceed Execution Time Limit: 0
Exceed CPU utilization Limit: 0
Exceed max rewrite entry: 0
Hits Per Event:
HTTP Request event:
236395
HTTP Response event: 236392