Sysdiagnose is a diagnostic tool available on all Apple products. It collects information and logs from various parts of the systems to provide a full image of the system state at a certain point in time. The data collected is quite comprehensive and covers a wide range of aspects.
I have to admit, I am still learning the basics of macOS. This means I come across so many new things every day, some of which are great tools. Today, I would like to share with you one of these tools that I found to be immensely helpful, sysdiagnose.
What is sysdiagnose?
Sysdiagnose is a diagnostic tool available on all Apple products. It collects information and logs from various parts of the systems to provide a full image of the system state at a certain point in time. The data collected is quite comprehensive and covers a wide range of aspects, some of which are:
- PS output.
- Comprehensive WiFi logs (status, security, arp, netstat, ifconfig, ...).
- Top output.
- System configuration (airport, boot, smb, networking, preferences, ...).
- Mounted drives.
- Kextstat output.
- And much more ...
Using this tool is quite straightforward, here are the steps:
- Open your terminal.
- Run the following command:
- Press Enter to continue
- Once the tool finishes running, open the compressed file it generated and examine the various log files and information dumps.
What Can I Use This For?
You can use the information collected for a lot of things, depending on what you are trying to achieve. I use it to help with two tasks:
- Security incident response.
- Troubleshooting system issues.