I need to get a list of background processes in FreeBSD, but I don't know how. I've tried to use ps command: ps -ax ps -e -j But I haven't found properties which describe background processes. I tried to use the top command, but that gave no results. I think that I should see the priority of a process, and if this process has less priority than non-background analogue, I can conclude that there is a background process. But how would I check for...
Originally asked by Aleksander Korovin on Stack Exchange (superuser) (CC BY-SA 4.0).