HP-UX Programmer's Guide for Java 2

Table Of Contents
for HP-UX Performance tuning, Tutorials, & Training" on the Business Support Center
(BSC): Performance Tuning, Tutorials, & Training or on the AllianeONE site.
Use tusc for debugging
The product tusc is an HP "as is" product, and is not currently supported by HP's IT
Resource Center. However, it gives you another view into the system activity in addition
to Java™ stack traces, GlancePlus, and HPjmeter. tusc has many options which upi
can display with the command tusc -help.
Use vmstat for virtual memory statistics
The vmstat utility gives you statistics on virtual memory utilization. The po field
indicates the number of pages paged out in the last interval. It is reasonable to set a
five second interval, using the command vmstat 5. Watch this display for a few
minutes. If po is consistently non-zero, you could have a problem with memory
pressure. Add memory, or decrease the size and/or number of applications or users.
Use netstat to check socket connections
Use netstat to look at socket connections when running your application.
Example: netstat -p tcp
Use tusc for debugging 37