Thread: Daemon Process

  1. #1
    C Beginner
    Join Date
    Dec 2011
    Location
    Portugal
    Posts
    187

    Daemon Process

    Hey guys,
    I need to create some Daemon processes to observe my log activity.

    I've been reading this article which explains every detail on how to create a successful daemon process. The thing is, they only create this daemon and do not interact him with the log system (which should be syslog).

    What do you think I need to do ?

    Maybe set every daemon ID so I can afterwards connect 'em to syslog through a pipe ?

    It should be able to do the same as DaemonFS.

    Thanks.
    Last edited by DeanWinchester; 05-25-2012 at 02:44 AM.

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    So, you read a tutorial on creating a proper daemon and you understood it?

    You want to add features that you don't know how to create to a skeleton you understand how to create?

    Here is a novel idea: find a separate tutorial that explain what you don't understand and glue them together?

    Apparently no one has ever told you this: programming is work. You aren't always going to find a tutorial or code that does exactly what you need to sometimes you are going to have to do some independent research.

    Soma

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ssh daemon question
    By Overworked_PhD in forum Linux Programming
    Replies: 4
    Last Post: 07-07-2009, 11:44 AM
  2. Daemon process debugger
    By karthigayan in forum C Programming
    Replies: 2
    Last Post: 03-31-2009, 12:28 AM
  3. Replies: 3
    Last Post: 02-20-2009, 12:46 AM
  4. Why does the ssh daemon set up two processes?
    By Overworked_PhD in forum Tech Board
    Replies: 2
    Last Post: 09-25-2008, 06:48 PM
  5. creating a daemon
    By Onkel BeBu in forum Linux Programming
    Replies: 6
    Last Post: 09-24-2003, 09:49 AM