LinHES Forums
http://forums.linhes.org/

Linux command to list all DAEMON processes
http://forums.linhes.org/viewtopic.php?f=5&t=17831
Page 1 of 1

Author:  whoa [ Mon Feb 04, 2008 3:58 pm ]
Post subject:  Linux command to list all DAEMON processes

I know that ps -aux will give me all the processes... Whats the command to list out all the Daemons running and their info?

Thanks.

Author:  tjc [ Mon Feb 04, 2008 7:21 pm ]
Post subject: 

Anything without a controlling TTY is most likely a daemon. Since the -t option doesn't seem to work in reverse try:
Code:
ps -elf | awk 'NR=1 || $13 == "?" {print $0}'

or:
Code:
ps aux | awk 'NR=1 || $7 == "?" {print $0}'

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/