What is diagnosticd on Mac?
By Junaid, maker of Taskglass · Last reviewed
Feeds live log messages to tools like the Console app and the 'log stream' command.
diagnosticd is part of macOS's unified logging system. When the Console app, the log command or a developer tool is watching messages live, diagnosticd collects and delivers that stream. Apple notes that live viewing makes logging cost extra CPU. When nothing is watching, it sits mostly idle.
- Category
- macOS system
- Made by
- Apple
- Safe to quit:
- With care
Shown in Activity Monitor as diagnosticd
Why is diagnosticd using so much CPU or memory?
- The Console app open and streaming live messages
- A 'log stream' command, or a monitoring or security tool reading the live log
- Developer tools such as Xcode showing a running app's logs
What to do
- 1Close the Console app or stop any 'log stream' command
- 2Quit monitoring or developer tools that read logs, then check again
- 3Restart your Mac if it stays busy with nothing watching the logs
Safe to quit? With care.
It relaunches when needed; quitting it just interrupts any live log viewing.
Typical CPU and memory use
Measured on an Apple M4 Mac running macOS 27.0.1 on November 17, 2026, during normal use:
diagnosticd: 0 MB of memory, running as root (the system)
Resident memory from ps at one moment. It changes with what you're doing.
Is it genuine? How to check
Malware sometimes borrows the name of a real process. The real one runs from a fixed place and carries its maker's code signature, so check both.
diagnosticd
- Location
- /usr/libexec/diagnosticd
- Signed by
- Apple (part of macOS)
- Started by
- launchd job
com.apple.diagnosticd(system daemon, started on demand)
Check the signature in Terminal:
codesign -dv --verbose=2 "/usr/libexec/diagnosticd"
The genuine file prints these lines:
Identifier=com.apple.diagnosticd Authority=macOS Software Signing TeamIdentifier=not set
To see where the running copy lives, run this in Terminal and compare the path:
ps -axo pid,user,comm | grep -F diagnosticd
In Activity Monitor: select the process, click the Info button (ⓘ), then Open Files and Ports. The first line is the program's path.
Paths and signatures checked on macOS 27.0.1 (26A434), Apple M4, November 17, 2026. Other macOS versions can differ.
How to restart diagnosticd
Quit it in Activity Monitor, or run sudo killall diagnosticd in Terminal. Launchd starts it again the next time an app or macOS asks for it: it is the launchd job com.apple.diagnosticd (a system daemon), defined in /System/Library/LaunchDaemons/com.apple.diagnosticd.plist.
Related processes
- logdCollects and stores system log messages, the running diary that macOS and apps keep.
- ReportCrashWrites a crash report whenever an app or background process crashes.
- diskarbitrationdNotices disks being connected and decides how and where they are mounted.
- distnotedPasses 'something changed' messages between apps and system services behind the scenes.
- DockRuns the Dock, plus Mission Control, Spaces (multiple desktops), App Exposé and Hot Corners.
- FinderThe Mac's file browser, which also draws the icons on your desktop.
Part of the Taskglass Process Library · More macOS system processes