Performance Analysis Tools for HP-UX 11i on Integrity Servers
When to use
When you need information on shared memory, message queues, or semaphores.
Example of use
To get message queue information:
$ ipcs -qa
For more information
See man ipcs.
4.4 kcweb (kernel configuration Web tool)
The kcweb application is a combination of a command set and a Web-based graphical user interface (GUI)
that perform HP-UX kernel configuration.
Some commands that you use with kcweb are:
• kcweb, which starts the kcweb application
• kcusage, which you can use to query the usage of kernel resources controlled by various kernel
tunables
• kcmond, which is a daemon that monitors the consumption of kernel resources
• kcalarm, which you can use to add, delete, or list kernel tunable alarms, as well as turn kernel
tunable monitoring on and off
• kctune, used to manage kernel tunable parameters
When to use
Use kcweb to:
• Change kernel tunable values
• Monitor kernel resource usage for a set of supported tunables
• Set thresholds over which an alarm will be triggered
• Manage and configure dynamically loadable kernel modules (DLKMs)
For more information
• See the training course handout “HP-UX Kernel Tuning with kcweb”, December 2002.
• See the chapter on “Reconfiguring the Kernel (HP-UX 11i Version 2)”.
4.5 netstat (network statistics)
This command provides statistics for network interfaces and protocols, as well as the contents of various
network-related data structures. It has been described as “a collection of several tools lumped together.”
The general form of this command is:
netstat [-gin] [-I interface] [interval] [system]
When to use
Use this command to: display a list of active sockets for each protocol; display the contents of a other
network data structure; display configuration information for each network interface.
Example of use
$ netstat
For more information
See man netstat.
8