Questions tagged [sysdiagnose]

Sysdiagnose is essentially a screenshot of your device's state at a particular period in time. Use this tag for help about how to write to, trigger, retrieve, or read a sysdiagnose file

What sysdiagnose Collects:

It includes things like a spindump which is a sample or time profiler like profiling of all apps on a system, heap, leaks, footprint, VMStat, and FS.

  • 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: list of malloc-allocated buffers in the process’s heap is collected

For more see:

https://developer.apple.com/bug-reporting/profiles-and-logs/?name=sysdiagnose

3 questions
9
votes
3 answers

How can I retrieve messages logged with os_log from iPad/iPhone?

I am using the new Unified Logging API in Swift. So I create a logger and use it as below: let testLogger = OSLog(subsystem: "my.subsystem", category: "test") os_log("just a test: %@", log: testLogger, type: .error, "error") How can I retrieve the…
jair.jr
  • 597
  • 1
  • 7
  • 13
5
votes
1 answer

How to trigger a sysdiagnose on iOS 14.4+ device

I have an iPhone 8, and I'm trying to trigger a sysdiagnose with iOS 14.4 and up. You'd think that this is well-documented, and it is, but I still can't get it to work. Here's what I've tried: If you go to the Profiles and logs page here and filter…
TheJeff
  • 3,665
  • 34
  • 52
1
vote
0 answers

IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem

I am getting the following runtime warning message in my Python program. But I am unable to determine which code is generating it. Can anyone tell me where it originates? I've put in print statements between my code, and where this message will…
mcgregor94086
  • 1,467
  • 3
  • 11
  • 22