Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Monitoring Tools

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.

Table 3-2  Monitoring tools

Tool

Description

Activity Monitor

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 top tool.

BigTop

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 top and vm_stat tools.

Quartz Debug

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.

Spin Control

Samples programs that cause the spinning cursor to appear. Leave this program running in the background to catch unresponsive applications at critical moments.

Thread Viewer

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.

fs_usage

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.

sc_usage

Displays an ongoing list of system call and page fault statistics.

top

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.



< Previous PageNext Page > Hide TOC


Last updated: 2006-10-03




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice