Sample Header Ad - 728x90

List all processes without controlling terminal (only)?

4 votes
1 answer
594 views
Is there a portable way to do this? On Linux, I can use ps a -N but this option isn't available on other (POSIX) systems. Of course I can use grep '^?' with, say, -o tty,... but is there something more reliable?
Asked by pashazz (41 rep)
Nov 10, 2015, 07:09 PM
Last activity: Oct 6, 2023, 03:32 PM