Download Shark SK435CO User guide
Transcript
Advanced Profiling Control Command Line Shark Sampling UnresponsiveApplications menu item (Command-Shift-A ). When Unresponsive Application Triggering is enabled, Shark will automatically switch to Batch Mode and display unresponsive application triggering options, as shown below. Figure 5-7 Unresponsive Application Triggering Unresponsive application profiling can be limited to a single application by setting the Application Name Filter check box and filling in a name or partial name in the associated text field. The threshold for the amount of time an application is unresponsive (does not respond to mouse or keyboard events) can be set by entering a value (in seconds) in the Unresponsive Time Threshold text field. With this, you can eliminate sampling of expected, brief bits of unresponsive time and focus instead on the really long and painful occurrences. Note: The Unresponsive Time Threshold value modifies the system-wide definition of what an “unresponsive application” actually is, and will consequently change the amount of time from the last time the application was responsive to the first time that the system presents the spinning rainbow cursor for it. Command Line Shark In some situations, such as profiling on headless servers, it is not possible to use the graphical user interface at all. For these cases, use /usr/bin/shark. Command line shark supports the major features of its graphical counterpart for data collection, but does not do much with the recorded data beyond saving sessions. In Retired Document | 2012-07-23 | Copyright © 2012 Apple Inc. All Rights Reserved. 129