The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Starting daemons at reboot. shorty UNIX for Dummies Questions & Answers 2 04-03-2007 03:10 PM
A doubt on Daemons marioh Linux 4 06-21-2005 09:29 AM
Daemons Pennywize UNIX for Dummies Questions & Answers 6 02-21-2003 10:43 AM
root owner of daemons? xNYx Security 1 03-12-2002 12:28 PM
DNS daemons Deuce IP Networking 8 11-29-2001 07:51 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-23-2008
new2Linux new2Linux is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 16
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 (permalink)  
Old 06-23-2008
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
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 (permalink)  
Old 06-23-2008
new2Linux new2Linux is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 16
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 (permalink)  
Old 06-23-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,124
The ones with the question marks are the daemons. That is very definition of daemon to the kernel... no controlling tty.
  #5 (permalink)  
Old 06-23-2008
new2Linux new2Linux is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 16
Thanks guys that was really helpful.
  #6 (permalink)  
Old 06-24-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
check this if you want to read further
Closed Thread

Bookmarks

Tags
daemon

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0