It can be used for troubleshooting. It is quite useful for system administrators.
Shortcut Key: Command + Option + Control + Shift +.
After a period of time, the sysdiagnoseplus time .tar.gz file is generated in the/private/var/tmp/folder. this includes almost all the system detection information, such as diskutil, GPT, ifconfig, odutil, logs, airport, systemconfigration, diagnosticmessages, crashes_and_spins, and fsck_hfs_var.
You can also use commands to refine your options.
------------------------------------
Sysdiagnose version: 1.2.2
Usage: sysdiagnose [-H] [-F result_directory] [process_name | PID]
-H display this help
-F result directory specify the directory where results will be stored.
[Process_name | PID] if a single process appears to be slowing down the system,
Passing in the process name or ID as the argument gathers
Addition Process-specific diagnostic data.
Description:
Sysdiagnose gathers system diagnostic information helpful in investigating system performance issues.
A great deal of information is harvested, spanning system state and configuration. The data is stored/var/tmp directory.
Sysdiagnose can be triggered upon pressing a special key chord; this is currently control-Option-command-shift-period.
What sysdiagnose collects:
-A spindump OF THE SYSTEM
-Several seconds of fs_usage ouput
-Several seconds of top output
-Data about Kernel zones
-Status of loaded kernel extensions
-Resident memory usage of user processes
-All system logs, kernel logs, opendirectory log, windowserver log, and log of power management events
-A system profiler report
-All spin and crash reports
-Disk usage information
-I/O kit Registry Information
-Network Status
-If a specific process is supplied as an argument: A list of malloc-allocated buffers in the process's heap is collected
-If a specific process is supplied as an argument: data about unreferenced malloc buffers in the process's memory is collected
-If a specific process is supplied as an argument: data about the virtual memory regions allocated in the process