tmdiagnose(8) BSD System Manager's Manual tmdiagnose(8)
NAME
tmdiagnose -- gather information to aid in diagnosing Time Machine issues
SYNOPSIS
tmdiagnose -h tmdiagnose [-d seconds] [-f path] [-m] [-r]
DESCRIPTION
The tmdiagnose tool gathers system and backup information in order to assist Apple when investigating issues related to Time Machine. A great deal of information is harvested, spanning system state, system and backup configuration, and snapshot details. What tmdiagnose Collects: o A spindump of the system o Several seconds of fs_usage ouput o Several seconds of top output o Individual samples of backupd, mtmd, mtmfs, and Finder o Power Management state and logs o IOKit registry information o A netstat inspection o A list of all open files on the system o All system logs o All kernel logs o All install logs o All fsck_hfs logs o All WiFi logs o Disk Utility logs for all local users o The system migration log o All spin and crash reports for the following processes: backupd mtmd mtmfs mds diskimages-helper Locum newfs_hfs NetAuthSysAgent o Recent spin and crash reports for the following processes, for all local users: Finder Locum System Preferences SystemUIServer iPhoto Mail MailTimeMachineHelper Address Book o Basic information about reachable AirPort and Time Capsule devices o The FindSystemFiles cache o Information about disks and mounted network shares o Information about attached disk images o A System Profiler report o A list of software that has been installed via the darwinup tool o Time Machine preferences, caches, and configuration information o Comprehensive information about Time Machine backups and snap- shots The high-level backup structure for the current machine directory is recreated inside the diagnostic bundle, including the capture of various Time Machine log files contained within snapshots. Items in this "skele- ton" structure have on them the extended attributes of the originals. Recreations of local snapshots are also captured in the same manner. The tmdiagnose tool will run the Spotlight diagnostic tool mddiagnose automatically, if it is available. What tmdiagnose Doesn't Collect: o No user files are harvested from within backups o No authentication credentials are harvested from the system o No authentication credentials are harvested for reachable Air- Port and Time Capsule devices
OPTIONS
-h Print full usage. -d sec Delay the start of the diagnostic by sec seconds. The system alert sound will play two times when the diagnostic begins. -f path Write the diagnostic to the specified path. -m Gather memory diagnostics for backupd, mtmd, mtmfs, and Finder. -r Do not reveal the diagnostic in Finder when finished.
EXIT STATUS
tmdiagnose exits with status 0 if there were no internal errors encoun- tered during the diagnostic, or >0 when an error unrelated to external state occurs or unusable input is provided by the user. Mac OS X 6 September 2011 Mac OS X
Mac OS X 10.9 - Generated Fri Oct 18 09:05:41 CDT 2013