Yes, there is a way to do this in the launchd / launchctl paradigm:
sudo launchctl bslist
will give you the output of all loaded startup processes with
A for active. he works
I for inactive. He must not run. It should not work on its own, and I hope you will notice how my tone is not final. But this should not surprise you, I have to say.
D on request. It doesnβt work now, but it may be, since it could start at any time.
Also, if you want to create a tree structure so you can see which process spawned what:
sudo launchctl bstree
You'll get
A com.apple.windowserver.active D com.apple.DirectoryService.localonly com.apple.metadata.mds[46].subset.109 (Explicit Subset)/ D com.apple.Spotlight.ImporterWorker.89 D com.apple.Spotlight.ImporterWorker.i386.89 A com.apple.Spotlight.ImporterWorker.501 D com.apple.Spotlight.SyncScanWorker
This is a tree of processes and their states.
If you are like me, you will want to use some things from here , because you can find some features when you look,
chiggsy
source share