list-system-processes や process-attributes を利用できるかもしれないね。
(info "(elisp) System Processes")
で調べてみたらいいかもね。