Performance Analysis Tools for HP-UX 11i on Integrity Servers

4.6 nettl (network tracing and logging)
This command is used to control the network tracing and logging facility. Logging is a means of capturing
network activities such as state changes, errors, and connection establishment. Tracing is used to capture
or take a snapshot of inbound and outbound packets going through the network, as well as loopback or
header information.
The general form of this command is:
netstat -option
When to use
When you want to capture network events or packets.
Example of use
To display the status of the tracing/logging facility:
$ nettl -status all
For more information
See man nettl.
4.7 sar (system activity reporter)
This command samples and averages kernel counters. It has been called “one of the most effective and
underrated tools for extracting CPU activity and compiling raw data on system performance.”
The general form of this command is:
sar [-option] count [interval]
When to use
When you are interested in CPU and disk utilization and balance.
Example of use
To watch CPU activity evolve for 5 seconds:
$ sar 1 5
For more information
See man sar and “PPU Percent Utilization Information Verification (HP-UX)”
4.8 swapinfo (system paging space information)
This command provides information about device and file system paging space.
Note that HP-UX actually implements virtual memory by paging rather than swapping, but this command
retain its original name.
The general form of this command is:
sar [-option] count [interval]
When to use
When you want details about device and file system paging space.
Example of use
List all file system paging areas with a totals line:
$ swapinfo -ft
When to use 9