afm-user-daemon: returns the pids of the processes