[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

ntx_stat Command

Purpose

Displays and clears Network Terminal Accelerator (NTX) diagnostic information.

Syntax

ntx_stat-c ] [ -d Device ] [ -h ] [ enet ] [ icmp ] [ ip ] [ route ] [ tcp ] [ udp ]

Description

The ntx_stat command displays and clears adapter diagnostic information. This command retrieves, and optionally clears, statistics from various software modules on the adapter. To retrieve particular statistics, specify one of the following keywords:

enet Ethernet statistics
icmp Internet Control Message Protocol (ICMP) statistics
ip Internet Protocol (IP) statistics
route Route statistics
tcp Transmission Control Protocol (TCP) statistics
udp User Datagram Protocol (UDP) statistics

The ntx_stat command displays the selected statistics on the standard output device in a user-friendly display. If no statistics parameters are given, the command displays all the statistics.

Flags

-c Clears the statistics after they are retrieved.
-d Device Sets the adapter raw device file name. The default is the /dev/rhp0 file.
-h Gets the file descriptor for the adapter board from standard input. This flag is only useful when running the ntx_stat command via the execve subroutine. Because of the way the shell handles redirection, command lines of the type ntx_stat ... -h < device do not work.

Exit Status

This command returns the following exit values:

0 Successful completion.
>0 An error occurred.

Security

Access Control: Any user.

Auditing Events: N/A

Examples

To retrieve the Ethernet and TCP statistics and clear them, enter:

ntx_stat -c enet tcp

Files

/usr/bin/ntx_stat Contains the ntx_stat command.
/dev/rhp0 Default NTX raw device file name.

Related Information

Files: /dev/rhp.

"Configuring the Network Terminal Accelerator" in AIX Versions 3.2 and 4 Asynchronous Communications Guide


[ Previous | Next | Contents | Glossary | Home | Search ]