Skip to contentBlack FridayTaskglass is $9 instead of $14Get the deal →

What is diagnosticd on Mac?

By Junaid, maker of Taskglass · Last reviewed

Summarize this page with

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

  1. 1Close the Console app or stop any 'log stream' command
  2. 2Quit monitoring or developer tools that read logs, then check again
  3. 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

Part of the Taskglass Process Library · More macOS system processes

See this process live in Taskglass.

Taskglass shows what diagnosticd is doing on your Mac right now, groups it under the app that started it, and checks its code signature for you. It explains 224 processes this way.

See how Taskglass works →How it compares with Activity Monitor →