Product Documentation

ns

Sep 12, 2016

The following operations can be performed on "ns":

config ns

Displays a menu to configure the basic parameters of a NetScaler appliance. Note: The appliance must be rebooted for these changes to take effect.

Synopsys

config ns

stat ns

Displays generic statistics of the NetScaler appliance.

Synopsys

stat ns [-detail] [-fullValues] [-ntimes <positive_integer>] [-logFile <input_filename>] [-clearstats ( basic | full )]

Arguments

detail

Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues

Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes

The number of times, in intervals of seven seconds, the statistics should be displayed.

Default value: 1

Minimum value: 0

logFile

The name of the log file to be used as input.

clearstats

Clear the statsistics / counters

Possible values: basic, full

Outputs

Average CPU usage (%) (CPU)

Average CPU utilization percentage. Not applicable for a single-CPU system.

CPU usage (%) (CPU)

CPU utilization percentage.

Maximum memory(KB) Deprecated (MaxMem)

Largest amount of memory the NetScaler can dedicate to caching, up to 50% of available memory. A 0 value disables caching, but the caching module continues to run.

Delta compression ratio (DlCmpRt)

Ratio of compressible data received to compressed data transmitted.If this ratio is one (uncmp:1.0) that means compression is disabled or we are not able to compress even a single compressible packet.

Average CPU usage (CPU)

Shows average CPU utilization percentage if more than 1 CPU is present.

CPU usage (CPU)

CPU utilization: percentage * 10.

Memory usage (MemUsage)

Percentage of memory utilization on NetScaler.

Total HTTP compression ratio

Ratio of total HTTP data received to total HTTP data transmitted.

HTTP compression ratio

Ratio of the compressible data received from the server to the compressed data sent to the client.

Utilized memory(KB) (UtiMem)

Amount of memory the integrated cache is currently using.

Maximum memory active value(KB) (MaxMemActive)

Currently active value of maximum memory

Maximum memory(KB) (Max64Mem)

Largest amount of memory the NetScaler can dedicate to caching, up to 50% of available memory. A 0 value disables caching, but the caching module continues to run.

Origin bandwidth saved(%) (POrBan)

Percentage of origin bandwidth saved, expressed as number of bytes served from the integrated cache divided by all bytes served. The assumption is that all compression is done in the NetScaler.

Misses (TotMiss)

Intercepted HTTP requests requiring fetches from origin server.

Hits (TotHit)

Responses served from the integrated cache. These responses match a policy with a CACHE action.

# SSL cards UP (SSLCardUP)

Number of SSL cards that are UP. If the number of cards UP is lower than a threshold, a failover is initiated.

InUse Memory (%) (MemUsage)

Percentage of memory utilization on NetScaler.

Memory usage (MB) (MemUseMB)

Main memory currently in use, in megabytes.

Management CPU usage (%) (CPU)

Management CPU utilization percentage.

Packet CPU usage (%) (CPU)

Average CPU utilization percentage for all packet engines excluding management PE.

Up since (Since)

Time when the NetScaler appliance was last started.

Last Transition time (TransTime)

Time when the last master state transition occurred. You can use this statistic for debugging.

System state (HAState)

State of the HA node, based on its health, in a high availability setup. Possible values are:

UP ? Indicates that the node is accessible and can function as either a primary or secondary node.

DISABLED ? Indicates that the high availability status of the node has been manually disabled. Synchronization and propagation cannot take place between the peer nodes.

INIT ? Indicates that the node is in the process of becoming part of the high availability configuration.

PARTIALFAIL ? Indicates that one of the high availability monitored interfaces has failed because of a card or link failure. This state triggers a failover.

COMPLETEFAIL ? Indicates that all the interfaces of the node are unusable, because the interfaces on which high availability monitoring is enabled are not connected or are manually disabled. This state triggers a failover.

DUMB ? Indicates that the node is in listening mode. It does not participate in high availability transitions or transfer configuration from the peer node. This is a configured value, not a statistic.

PARTIALFAILSSL ? Indicates that the SSL card has failed. This state triggers a failover.

ROUTEMONITORFAIL ? Indicates that the route monitor has failed. This state triggers a failover.

Master state (mastate)

Indicates the high availability state of the node. Possible values are:

STAYSECONDARY ? Indicates that the selected node remains the secondary node in a high availability setup. In this case a forced failover does not change the state but, instead, returns an appropriate error message. This is a configured value and not a statistic.

PRIMARY ? Indicates that the selected node is the primary node in a high availability setup.

SECONDARY ? Indicates that the selected node is the secondary node in a high availability setup.

CLAIMING ? Indicates that the secondary node is in the process of taking over as the primary node. This is the intermediate state in the transition of the secondary node to primary status.

FORCE CHANGE - Indicates that the secondary node is forcibly changing its status to primary due to a forced failover issued on the secondary node.

# SSL cards present (SSLCards)

Number of SSL crypto cards present on the NetScaler appliance.

/flash Used (%) (disk0PerUsage)

Used space in /flash partition of the disk, as a percentage. This is a critical counter.

You can configure /flash Used (%) by using the Set snmp alarm DISK-USAGE-HIGH command.

/var Used (%) (disk1PerUsage)

Used space in /var partition of the disk, as a percentage. This is a critical counter. You can configure /var Used (%) by using the Set snmp alarm DISK-USAGE-HIGH command.

/flash Available (MB) (disk0Avail)

Available space in /flash partition of the hard disk.

/var Available (MB) (disk1Avail)

Available space in /var partition of the hard disk.

Megabits received (RxMb)

Number of megabytes received by the NetScaler appliance.

Megabits transmitted (TxMb)

Number of megabytes transmitted by the NetScaler appliance.

All client connections (CltCx)

Client connections, including connections in the Opening, Established, and Closing state.

Established client connections (CltCxE)

Current client connections in the Established state, which indicates that data transfer can occur between the NetScaler and the client.

All server connections (SvrCx)

Server connections, including connections in the Opening, Established, and Closing state.

Established server connections (SvrCxE)

Current server connections in the Established state, which indicates that data transfer can occur between the NetScaler and the server.

Total requests (HTReqRx)

Total number of HTTP requests received.

Total responses (HTRspRx)

Total number of HTTP responses sent.

Request bytes received (HTReqbRx)

Total number of bytes of HTTP request data received.

Response bytes received (HTRspbRx)

Total number of bytes of HTTP response data received.

SSL transactions (SSLTrn)

Number of SSL transactions on the NetScaler appliance.

SSL session hits (SeHit)

Number of SSL session reuse hits on the NetScaler appliance.

requests (reqs)

HTTP/HTTPS requests sent to your protected web servers via the Application Firewall.

responses (resps)

HTTP/HTTPS responses sent by your protected web servers via the Application Firewall.

aborts

Incomplete HTTP/HTTPS requests aborted by the client before the Application Firewall could finish processing them.

redirects (redirect)

HTTP/HTTPS requests redirected by the Application Firewall to a different Web page or web server. (HTTP 302)

Misc. Counter 0 (misc0)

Miscellaneous Counter 0.

Misc. Counter 1 (misc1)

Miscellaneous Counter 1.

Management CPU usage (CPU)

Management CPU utilization: percentage * 10.

SSL crypto card status (SSLCardSt)

Status of the SSL card(s). The value should be interpreted in binary form, with each set bit indicates a card as UP.

304 hits (304Hit)

Object not modified responses served from the cache. (Status code 304 served instead of the full response.)

Non-304 hits (Non304Hit)

Total number of full (non-304) responses served from the cache. A 304 status code indicates that a response has not been modified since the last time it was served

sql hits (sqlHit)

sql response served from cache

Requests (CacReq)

Total cache hits plus total cache misses.

Compressed bytes transmitted

Number of bytes the NetScaler sends to the client after compressing the response from the server.

Compressible bytes received

Number of bytes that can be compressed, which the NetScaler receives from the server. This gives the content length of the response that the NetScaler receives from server.

Compressible bytes received (DlCmpRxB)

Total number of delta-compressible bytes received by NetScaler.

Compressed bytes transmitted (DlCmpTxB)

Total number of delta-compressed bytes transmitted by NetScaler.