I wasn’t aware of the sysdiagnose command before tonight, but it looks very, very helpful.
sysdiagnose
via @chockenberry