onstat -g smx command: Print multiplexer group information

Use the onstat -g smx command to display information about the server multiplexer group for servers using SMX.

Syntax:

onstat -gsmx [ ses ]
Command Explanation
onstat -g smx Displays SMX connection statistics
onstat -g smx ses Displays SMX session statistics

Example output

Figure 2: onstat -g smx command output
SMX connection statistics: 
SMX control block: 0x47d5e028

  Peer server name: lx1
  SMX connection address: 0x47d60d10
  Encryption status: Disabled
  Total bytes sent: 27055
  Total bytes received: 2006989
  Total buffers sent: 782
  Total buffers received: 7090
  Total write calls: 782
  Total read calls: 7090
  Total retries for write call: 0
  Data compression level: 1
  Data sent: compressed 40760 bytes by 33%
  Data received: compressed 12579324 bytes by 84% 

Output description

SMX control block
SMX control block
Peer server name
Displays the name of the peer server
SMX connection address
Displays the address of the SMX connection
Encryption status
Displays whether encryption is enabled or disabled
Total bytes sent
Displays the total number of bytes sent
Total bytes received
Displays the total number of bytes received
Total buffers sent
Displays the total number of buffers sent
Total buffers received
Displays the total number of buffers received
Total write calls
Displays the total number of write calls
Total read calls
Displays the total number of read calls
Total retries for write call
Displays the total number of retries for write call
Data compression level
Displays the SMX compression level as set by the SMX_COMPRESS configuration parameter
Data sent: compressed x bytes by y%
Displays the uncompressed number of bytes and the compression ratio of the data sent
Data received: compressed x bytes by y%
Displays the uncompressed number of bytes and the compression ratio of the data received

Example Output

Figure 3: onstat -g smx ses Output

SMX session statistics: 
SMX control block: 0x17c69028

Peer        SMX session        client        reads        writes
name        address            type
delhi_sec     19022050   smx Clone Send            6          183

Output Description

SMX control block
SMX control block
Peer name
Displays the name of the peer server
SMX session address
SMX session address
Client type
Displays type of secondary server
reads
Displays the total number of session reads
writes
Displays the total number of session writes