Mac Developer Library Developer
Search

 

This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.




spindump(8)               BSD System Manager's Manual              spindump(8)

NAME
     spindump -- Profile entire system during a time interval

SYNOPSIS
     spindump [pid | partial-name [duration [interval]]] [-file path] [-wait] [-findDsyms]
              [-delayOnSignal seconds]

DESCRIPTION
     spindump is used by various system components to create reports when an unresponsive application is
     force quit. Reports are stored at:

     /Library/Logs/DiagnosticReports/

     For normal application force quits spindump will display a dialog to offer the choice to view more
     details and/or send a report to Apple.

     -------------------------------------When ------------------------------------When

     When run manually, spindump samples user and kernel stacks for every process in the system.

     The process with the matching pid or partial-name will be sorted topmost in the report, if specified.
     "-notarget" may be used to avoid providing a target process when specifying a duration and interval.

     duration is the duration of the sampling in seconds. If not specified, the default of 10 seconds is
     used.

     interval is the number of miliseconds between samples. If not specified, the default of 10 miliseconds
     is used.

     The -file argument specifies where the report should be written. If path is a file, it will be over-written. overwritten.
     written. If path is a directory, a file will be created inside that directory with the name following
     the format <appname>_<pid>.spindump.txt. If a file by that name already exists, spindump will add a
     unique number to the filename. If not specified, spindump will output reports to files inside /tmp.

     The -wait flag tells spindump to wait for the process to exist before sampling. If the process already
     exists, spindump will begin sampling immediately.

     The -findDsyms flag tells spindump to use spotlight to find dsyms for use during symbolication.

     The -delayOnSignal argument tells spindump to wait seconds seconds after receiving a signal before
     exiting.

SEE ALSO
     SubmitDiagInfo(8), sample(1)

Darwin                        September 11, 2008                        Darwin

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Feedback