Review Request 128909: initial, minimal support for OS X

René J.V. Bertin rjvbertin at
Sat Sep 17 15:38:43 BST 2016

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 17, 2016, 4:38 p.m.)

Review request for KDE Base Apps and KDE Software on Mac OS X.


New version that disables making changes to the process parameters that cannot currently be changed. I should still do the same for sending signals to other users' processes.

Repository: libksysguard


This patch implements initial and rather minimal support for OS X, for now focussing purely on process information. That feature is justified as it is used by KDevelop in order to obtain the list of processes one can attach a debugger to.

Mac OS X is tricky because it requires special privileges in order to obtain certain types of information for any running process. For example, even obtaining the number of threads spawned by a foreign process requires privileges that aren't trivial to set up. I've prepared the terrain, but also implemented a fallback strategy that calls `ps` to be sure that crucial information like the command name is available for all processes.

Diffs (updated)

  processcore/CMakeLists.txt e7c9263 
  processcore/Info.plist PRE-CREATION 
  processcore/helper.cpp d54c8e1 
  processcore/processes_darwin_p.cpp PRE-CREATION 
  processcore/processes_local_p.cpp 2bc123f 
  processui/ReniceDlg.cpp a97563f 



On OS X 10.9.5 with Frameworks 5.24.0 and Qt 5.6.1

File Attachments

Attach to Process widget in KDevelop


René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list