Monitoring tools are passive tools that gather data automatically. To use these tools, leave them running while you exercise the features of your program. You can then analyze the data generated by these tools to gain a better understanding of your program’s performance characteristics. Some programs, like Spin Control, should be left running all the time. Most others can be launched and terminated as needed to gather performance information.
Table 3-2 lists the monitoring tools installed with the Xcode Tools. Applications such as BigTop and Spin Control are installed in the /Developer/Applications/Performance Tools directory hierarchy. The Activity Monitor tool is installed in the /Applications/Utilities directory. Command-line tools, such as fs_usage and top, are installed in /usr/bin.
Tool | Description |
|---|---|
Displays common usage statistics relating to memory and CPU usage for the currently running processes. This tool provides information that is similar to that of the | |
Displays system statistics, such as CPU, disk, network and memory usage graphically over time. You can monitor a single process or all processes. This tool provides information that i similar to that of the | |
Shows screen updates in real time by briefly flashing the areas being redrawn. You can use this tool to analyze your application’s drawing behavior. | |
Samples programs that cause the spinning cursor to appear. Leave this program running in the background to catch unresponsive applications at critical moments. | |
Graphically displays activity across a range of threads. It provides color-coded timeline views of thread activity and can display backtraces of activity at specific points in time. | |
Displays an ongoing list of file-system activity, as generated by page faults and calls to file-system functions. You can use this tool to understand the file access patterns of your program. | |
Displays an ongoing list of system call and page fault statistics. | |
Displays common system usage statistics relating to memory and CPU usage for the currently running processes. This tool updates the information dynamically so that you can see trends at runtime. |
Last updated: 2006-10-03