daemons definition


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting daemons definition
# 1  
Old 06-23-2008
daemons definition

hi there,
can somebody give me a definition for daemons, or example what are they !!
and what the use for?

i've done some research and all what i found is /etc/...
or /usr/bin/...

and i haven't quietly got the concept.

any ideas !!
Thanks.
# 2  
Old 06-23-2008
This may not be 100% correct but I think pretty close and simple, but daemons are programs that continue to run on your system at all time.... like crond is a daemon for crontab... do a ps -ef | grep root on a box and most of those programs running will be daemons..
# 3  
Old 06-23-2008
Ive got output:

root 2 0 0 Jun16 ? 00:00:00 [kthreadd]
root 3 2 0 Jun16 ? 00:00:00 [migration/0]
root 4 2 0 Jun16 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 Jun16 ? 00:00:00 [watchdog/0]
root 6 2 0 Jun16 ? 00:00:01 [events/0]
root 7 2 0 Jun16 ? 00:00:00 [khelper]
root 49 2 0 Jun16 ? 00:00:00 [kblockd/0]
root 50 2 0 Jun16 ? 00:00:00 [kacpid]

root 2359 1 0 Jun16 ? 00:00:00 /usr/sbin/smartd -q never
root 2365 1 0 Jun16 tty2 00:00:00 /sbin/mingetty tty2
root 2366 1 0 Jun16 tty3 00:00:00 /sbin/mingetty tty3
root 2367 1 0 Jun16 tty4 00:00:00 /sbin/mingetty tty4
root 2368 1 0 Jun16 tty5 00:00:00 /sbin/mingetty tty5
root 2369 1 0 Jun16 tty6 00:00:00 /sbin/mingetty tty6


is all of them called daemons or just the ones that running from
/sbin/...
do we call them daemon just for the ones that runs for root or also for users?

Thanks.
# 4  
Old 06-23-2008
The ones with the question marks are the daemons. That is very definition of daemon to the kernel... no controlling tty.
# 5  
Old 06-23-2008
Thanks guys that was really helpful.
# 6  
Old 06-24-2008
check this if you want to read further
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Command to list down all daemons in Solaris

Hi All, Is there any command to list all running daemons in Solaris. I should able to see only running daemons. Regards, SKumar (5 Replies)
Discussion started by: nskumar
5 Replies

2. HP-UX

status of daemons

Hi there all, Hey, is there a way to get the status of all daemons running on a HPUX? in an easy way? Like the same way how to vieuw the status of packages in cmviewcl. Thanks! (1 Reply)
Discussion started by: draco
1 Replies

3. Shell Programming and Scripting

piping and backgroud processes (daemons)

Hello to all, I've a strage problem here: a perl script that parses the output of sar -q 300 0 (one line of performace data each 5 min. infinately) works fine from the CLI. It processes one line output every 5 minutes. If i disconnect it from the terminal (executing it with cron, nohup startporc... (2 Replies)
Discussion started by: demwz
2 Replies

4. UNIX for Dummies Questions & Answers

Starting daemons at reboot.

I rebooted my server (solaris 5.8) and I had to manually start the cron and mailx daemons. How do I get these to automatically start at reboot? Thanks in advance. (2 Replies)
Discussion started by: shorty
2 Replies

5. Solaris

SUN SOLARIS boot: start daemons

Hi, I have a problem on a Solaris 9 server! After a restart some daemons don't start and I have to start them manually! I thing that everything is ok in the /sbin/rc3 script! And if I run manually the "/etc/init.d/xxx start" the services start without problem. I didn't find anything in... (1 Reply)
Discussion started by: ctap
1 Replies

6. Linux

A doubt on Daemons

Hi there! I'm a bit curious on something about Daemons.... Supose you have two processes say A and B, where B is a daemon. A is totally independent from B. Is there a way for A to find out B's return code? Is there a way for A to find out when B ends? Thanks! (4 Replies)
Discussion started by: marioh
4 Replies

7. UNIX for Dummies Questions & Answers

Daemons

MYSQL-daemon don't started automatically by system-start. And same trouble with httpd too. I have SuSE 8.0. What can I do ? Thanks.... (6 Replies)
Discussion started by: Pennywize
6 Replies

8. Cybersecurity

root owner of daemons?

Hi all, what happens if i have a service running as root? if it is exploited what would happen? can a hacker actually becomes a hacker and screw up my whole box? thanks (1 Reply)
Discussion started by: xNYx
1 Replies

9. IP Networking

DNS daemons

Does anyone know the command to start the DNS Daemon. I looked in the /etc/init.d/inetsvc file and it tells me what the text should look like. When I go to open the corresponding files they are encoded and I can't read them. So is there a command that will start the DNS daemon? If... (8 Replies)
Discussion started by: Deuce
8 Replies
Login or Register to Ask a Question