Sponsored Content
Top Forums Shell Programming and Scripting créating a daemon under unix Post 302131606 by ankitecian on Monday 13th of August 2007 01:43:59 AM
Old 08-13-2007
Hi

Unix Daemon Server Programming


use fork to create a child process and then exit the parent process
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Should a UNIX daemon process close open fds?

I have a UNIX daemon process that's been started by a parent process, an application server. The behavior of this daemon process is to inherit and use the app server's file descriptors (ports/sockets). When I shutdown the app server, the daemon continues to run, because there may be other... (1 Reply)
Discussion started by: kunalashar
1 Replies

2. Shell Programming and Scripting

Creating a Daemon??

How in the world do you create a daemon and get it to start with a startup script? could someone tell me in detail im going nuts...thanks (1 Reply)
Discussion started by: nmajin
1 Replies

3. Programming

Creating a Daemon

how to convert a c program into a Daemon. thanks in advance svh (2 Replies)
Discussion started by: svh
2 Replies

4. UNIX for Dummies Questions & Answers

I would like to know Would you run the ‘identd’ daemon on UNIX servers?

Would you run the ‘identd' daemon on UNIX servers? can you please Explain. thanks in advance! (3 Replies)
Discussion started by: xoxouu
3 Replies

5. Shell Programming and Scripting

How to write a daemon in Unix?

Hi I have a directory where sometimes a file will come (in a name format say file001.txt). I want to run a job (.ksh file) as soon as a new file comes into the directory. How can I write a shell script which will run in the background and monitor arrival of new file in the directory? ... (11 Replies)
Discussion started by: sbasak
11 Replies

6. Shell Programming and Scripting

How to write daemon in UNIX

Hi Guys, I hope this is the right forum to post this. I have a directory where files will be dumped at any time of the day and I want to run scripts as soon as new files come into the directory. How can I write a daemon that detects when new files have been uploaded to the directory? ... (1 Reply)
Discussion started by: regie101
1 Replies

7. Shell Programming and Scripting

Creating a daemon to run in background

I am trying to create a service to always run and monitor a script that has a tendency to hang, we could not find what is causing it to hang so are in the process of completely reprogramming just about everything, however, that will take upto 6 months. So I need to create this to monitor the... (5 Replies)
Discussion started by: ukndoit
5 Replies

8. UNIX for Dummies Questions & Answers

Creating a backup of UNIX--Need help

My company has a client that has mostly windows machines but has 1 Unix machine(still trying to find out what version..Solaris, AIX, etc) and they want me to do a full backup of this Unix machine and store it on one of their windows servers. Is there a not too difficult way of doing this? ... (1 Reply)
Discussion started by: seanbl
1 Replies

9. Shell Programming and Scripting

Setting up a Daemon in UNIX

I have scheduled a crontab job in AIX 6.1 OS to run twice in an hour which runs for the whole day to process a load. The load which crontab kicks off needs files to arrive at a particular directory and if the files arrive, I process them. It so happens that for the 24 times the crontab... (2 Replies)
Discussion started by: gaugeta
2 Replies
linphonecsh(1)						     linphone, internet phone						    linphonecsh(1)

NAME
linphonecsh - Sends a command to a linphonec running in daemon mode, and exits. SYNTAX
linphonecsh init <optional linphonec args> linphonecsh exit linphonecsh generic <linphonec command line surrounded by quotes> linphonecsh register --username <username> --host <proxy> --password <password> linphonecsh unregister linphonecsh dial <sip address or number> linphonecsh status <domain = one of 'register', 'hook', 'autoanswer'> linphonecsh --help DESCRIPTION
Linphonecsh is a small utility to send basic commands to a linphonec (console mode linphone) process. Unlike linphonec, linphonecsh does not wait commands from standard input: it takes the command from its arguments and sends it using unix pipe to a linphonec process started in daemon mode. The motivation for this tool is for example to simply execute voip calls from scripts, web-servers, or javascript web pages. The very first thing to do before doing actions is to ask linphonecsh to spawn a linphonec daemon using linphonecsh init The resulting linphonec daemon does not read or write any configuration file. When the linphonec daemon is no more needed, the following commands makes it exit properly: linphonecsh exit FILES
By default a linphonec started as a daemon by 'linphonecsh init' does not use a config file. ENVIRONMENT VARIABLES
EXAMPLES
AUTHORS
Simon Morlat <simon.morlat at linphone.org> SEE ALSO
linphonec(1) sipomatic(1) linphone(1) Simon MORLAT 3.0.0 linphonecsh(1)
All times are GMT -4. The time now is 10:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy