Sponsored Content
Top Forums Programming Daemon direction. Or, What do I need to watch for? Post 302332951 by sandholm on Friday 10th of July 2009 12:54:41 PM
Old 07-10-2009
Glad I could help.
You can't go wrong with just about anything from Stevens.
He was one of the best!
And there's sample code in the book.
Andy Tanenbaum is another good Unix author to read.

---------- Post updated at 12:54 PM ---------- Previous update was at 12:45 PM ----------

one last tidbit, here's a discussion of creating a daemon in tcl/tk, with reference to the steven's book.
You can read the function to daemonize, which pretty much sums up what you'll need to do.

here's the link:
daemon
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

New & could use some direction!

First, I just rebuilt/installed my custom kernel & I don't know how to check if it ran properly (I'm fairly sure it did, but I'm looking for reassurance that it loaded the new kernel file). Second, I'd love to get into programming, scripting, whatever, I want my imagination to be the builder &... (2 Replies)
Discussion started by: LazySpoon
2 Replies

2. Programming

In what direction should I take computer programming?

I'm a senior in high school trying to start getting into computer programming. All I've done so far is picked up a book on C for beginners and started to teach myself. There aren't really any courses at my high school for introductory programming, so it looks like I'll have to wait for college to... (7 Replies)
Discussion started by: Fritzz
7 Replies

3. Shell Programming and Scripting

re-direction

Say I have a single bin directory with Linux and SunOS executables, like this: bin/myprog_lnx bin/myprog_sun Assume these programs read from stdin and write to stdout and, thus, are meant to be run like this: myprog_lnx < filein > fileout My users may log in from a Linux or Solaris... (3 Replies)
Discussion started by: gsal
3 Replies

4. Fedora

Need Direction for extra work ?

Hey , I have become pretty normal, using unix and what not and working around FEDORA 9 I was wondering does anyone have any IDEAS or have anything I should try to build or scripts to write , or possibly know any sites where I could practice some things just so I know I am writing them... (2 Replies)
Discussion started by: Producer
2 Replies

5. Fedora

In need of some direction

Okay, so I'm not a complete newb when it comes to using Unix/Linux. I've been using Ubuntu for a few years now and I've dipped my toes into a few other distros but now I want to get a bit serious. I'm looking at becoming a sysadmin but the trouble is...I have no idea where to start. What I'm... (1 Reply)
Discussion started by: Tamachan87
1 Replies

6. AIX

New to aix virtualization direction ?

picked up a 9111-520 p5 hardware recently with 8 Gig of RAM, lots of internal disk space...6 x 140 gig had 7.1 pre-installed, and managed to upgrade the firmware to latest SF240_xxxx goal is to virtualize this and have LPARs running aix 7.1, 6.x, and Rhat for ppc .. need some... (13 Replies)
Discussion started by: ppchu99
13 Replies

7. Shell Programming and Scripting

Search and Destroy Script Direction Help

Being a beginner in scripting I am not sure the direction to take to accomplish the below task and would love suggestions. GOAL input file: domains.list Read input file, search in named.conf and find domain and delete entry for the purpose of cleanup activity. named.conf entry example zone... (8 Replies)
Discussion started by: djzah
8 Replies

8. Shell Programming and Scripting

Error re-direction and Return code

Hi, I have a shell script which executes some sql. When the shell script executes the sql's logging is shown on the console. I need to grep some data from this output shown on console. So I do the following hive -f load.adj.hql 2>&1 | tee c.txt echo $? A=`grep num_rows c.txt` $? will... (1 Reply)
Discussion started by: wahi80
1 Replies

9. Shell Programming and Scripting

Can I please get a push in the right direction with awk/sed?

Hi Guys, I have this task to monitor a linux box. I found a program that displays the parameters that I want and I wrote a little .sh to run that program and record output into a file. The findings look promising but I would like to graph them. My output (for every iteration) looks like... (3 Replies)
Discussion started by: DraxDomax
3 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)
All times are GMT -4. The time now is 09:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy