07-15-2005
Creating a Daemon
how to convert a c program into a Daemon.
thanks in advance
svh
9 More Discussions You Might Find Interesting
1. Programming
I want to write background running program. How to use daemon function. Please send me source code.
Thanks. (1 Reply)
Discussion started by: bat_oyu
1 Replies
2. Shell Programming and Scripting
I just wanted a script to touch my files once a day so they don't get removed once a day from cleaning, however I was wondering if it was the most effiecient method?
comments are appreciated!
command-prompt>nohup toucher.sh &
Toucher.sh
#!/usr/local/bin/bash
while ((1))
do
... (2 Replies)
Discussion started by: Shakey21
2 Replies
3. Shell Programming and Scripting
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
4. Programming
i want to write a daemon service which listens the 8080 port and write down all the details in one file. How can i do this ? (2 Replies)
Discussion started by: santosh123
2 Replies
5. Shell Programming and Scripting
hi
i want to create a daemon under unix or linux but i don't really know how so i will be grateful if you provide me links with examples or /andx how to do it
thanks (2 Replies)
Discussion started by: student00
2 Replies
6. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
7. Shell Programming and Scripting
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. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
9. Programming
I wish to make a process run in the background, but only one instance of it, and not many,
so when the program is loaded, it has to check whether another instance of the same
program is running and if so to exit. How do I do this ? (4 Replies)
Discussion started by: sundaresh
4 Replies
libesd.3(3) Introduction to Library Functions libesd.3(3)
NAME
libesd - GNOME Enlightenment Sound Daemon Interface library
DESCRIPTION
The libesd library provides access to the Enlightened Sound Daemon (esd). The Enlightened Sound Daemon is launched automatically by libesd
if the daemon is not already present. A sockets connection is managed with the daemon by this API. The connection allows sound data to be
written to the daemon for playback, or read from the daemon for recording purposes.
The daemon will automatically sample an incoming stream from a client to the best format that is supported by the sound device. Therefore,
client programs do not have to be concerned with writing platform-specific code for handling sound data.
The daemon supports caching. Each sample is given an ID tag, and sound data can then be accessed via this API with this ID tag.
If the audio device supports simultaneous record and playback at the same bit resolution, bit rate, and number of channels (in other words,
is full duplex), then the daemon and API also supports simultaneous reading and writing from the audio device.
FILES
The following files are used by this application:
/usr/lib/libesd.so GNOME Enlightened Sound Daemon Interface shared library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-audio |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
esdcat(1), esdplay(1), esdrec(1), esdsample(1), esdmon(1), esdctl(1), esd-config(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 10 Jan 2003 libesd.3(3)