Home | Previous Page | Next Page   Appendix C. onstat Command Reference > onstat -g Command Summary >

onstat -g nif

The onstat -g nif command prints statistics about the network interface. The output shows which sites are connected and provides a summary of the number of bytes sent and received by each site. This can help you determine that a site is in a hung state, if it is not sending or receiving bytes.

The -g nif option is used primarily as a debugging tool and by Technical Support.

The onstat -g nif command has the following formats:

onstat -g nif
onstat -g nif modifier

The following table describes the values for modifier.

Modifier Action
all Prints the sum and the sites
sites Prints the NIF site context blocks
serverid Prints information about the replication server whose groupID is serverID
sum Prints the sum of the number of buffers sent and received for each site

The following example shows output for the onstat -g nif command. In this example, the local server is connected to the server group g_bombay and its CDR ID is 200. The connection status is set to running. The server group g_bombay NIF version is 7. The local server has sent three messages to the server g_bombay and it has received two messages from g_bombay.

IBM Informix Dynamic Server Version 10.00.UC1     -- On-Line 
-- Up 00:02:34 -- 28672 Kbytes

NIF anchor Block: af01610

       nifGState         RUN

          RetryTimeout   300

CDR connections:

 Id    Name       State    Version    Sent   Received

 -----------------------------------------------------

 200 g_bombay      RUN        7         3        2
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]