Tools for Applications
When you don’t have the source code for an application, you must use special tools to figure out what the application is really doing.
Tracing Applications
Applications make frequent calls into the operating system, both to shared libraries and to the kernel via system calls. System call tracing has been a feature of Solaris for a long time, and in Solaris 2.6 a new capability allows tracing and profiling of the shared library interface as well.
Tracing System Calls With truss
The Solaris 2 truss command has many features not found in the original SunOS 4 trace command. It can trace child processes, and it can count and time system calls and signals. Other options allow named system calls to be excluded or focused on, ...
Get Sun Performance and Tuning: Java™ and the Internet, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.