The following tools help monitor performance:
The iostat command reports the amount of I/O on terminals and hard disks and how CPU time is spent.
The vmstat command monitors virtual memory usage.
The netstat command monitors network status.
The ps command provides an accurate snapshot of accumulated CPU time and usage for individual processes. This can be very helpful in determining the load of the dataserver, engine, and processes.
The time command can be useful in determining the various user, system, and real-time resources used over a complete run.
For details about these tools, see your operating system documentation.