9 More Discussions You Might Find Interesting
1. Programming
believe it or not but this is my first c program (i've worked with java, C#, php though) I am trying to make a daemon that checks if mplayer is running(it's for a projection room) and if it is not then to run mplayer with a file.. So far it's not working and I don't know why
Help and comments... (5 Replies)
Discussion started by: james2432
5 Replies
2. 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
3. Programming
Hi ,
I want to know how to write a daemon process. I also want to know the concept behind daemon processes. Any material or sample program will be great :) .
Thanks in advance
-sg (2 Replies)
Discussion started by: sg6876
2 Replies
4. AIX
Does anyone out there use rsync on AIX 5.2, I've installed and would like to run in server mode, I've setup in services and inetd.conf and refreshed inetd. The rsync daemon however does not start, I've also tried rsync --daemon, this just returns to the # prompt. The rsync command itself appears to... (1 Reply)
Discussion started by: gefa
1 Replies
5. Programming
how to convert a c program into a Daemon.
thanks in advance
svh (2 Replies)
Discussion started by: svh
2 Replies
6. Shell Programming and Scripting
Hello, id like to know how can i do for making my script a daemon. Im not sure, but once , i might read about a "daemon" command. Thats true? Whats it for? It isnt in my man. (2 Replies)
Discussion started by: Jariya
2 Replies
7. Programming
Hello,
i am very very puzzled,
im doing this project for school, its a deamon logger, but anyways
I'm supposed to run the daemon, let it run on the backgroun, and then run a different program (from command like prompt). but when i run my daemon, it never goes back to the nova> prompt. :(
i dont... (3 Replies)
Discussion started by: Kacyndra
3 Replies
8. 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
9. 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
JACK.PLUMBING(1) JACK.PLUMBING(1)
NAME
jack.plumbing - JACK Plumbing Daemon
SYNOPSIS
jack.plumbing [options] [rule-files]
OPTIONS
-d : Do not operate as a daemon.
-o : Do not load ordinary rule files.
-q : Quiet operation.
-u : Set the time, in micro-seconds, that must elapse after a connection notification to indicate the end of a notification set
(default=30000). This is an optimization switch.
DESCRIPTION
jack.plumbing maintains a set of port connection rules and manages these as clients register ports with JACK. Port names are implicitly
bounded regular expressions and support sub-expression patterns.
There are four rules: connect, disconnect, also-connect and connect-exclusive.
(connect "SuperCollider:out_(.*)" "system:playback_1")
This connect rule ensures that whenever scsynth(1) is running any output ports it registers are connected to appropriate ALSA playback
ports. The connect rule only makes a connection if none already exist.
(also-connect "system:playback_1" "jack.udp-[0-9]*:in_1")
This also-connect rule ensures that when jack.udp(1) is running in send mode all signals that are ordinarily sent to the local audio
interface will also be sent to the network destination. The also-connect aliasing applies to both the left and right hand side of connect
rules.
(connect-exclusive "SuperCollider:out_(.*)" "ardour:sc3_in_1/in 1")
This connect-exclusive rule ensures that if SuperCollider and an ardour(1) session with appropriate tracks are both running that
SuperCollider gets connected to ardour and disconnected from everything else.
This type of connection daemon has the following advantages over both environment variables and command line arguments:
o it does not require any client connection support or logic at all
o it provides a uniform user interface to all clients
o it has a somewhat declarative style
This type of daemon is very lightweight and non-intrusive: it requires no arguments, it runs from an unprivileged thread, if the rule set
is empty it is a no-op, it does not write any files, it does not require any modification to clients or to how clients are started.
When a set of port registrations is made it checks the modification time of the rule set files, /etc/jack.plumbing and ~/.jack.plumbing,
and any files specified by the user, rereads the rule set if it has been updated, then makes the JACK graph obey the rules.
Any lines beginning with a semi-colon are ignored.
The rule set is sorted, disconnect rules are applied first, then connect rules, then connect-exclusive rules.
FILES
o /etc/jack.plumbing
o ~/.jack.plumbing
AUTHOR
Written by Rohan Drape http://slavepianos.org/rd/
SEE ALSO
jackd(1)
AUTHOR
Rohan Drape <rd@slavepianos.org>
Author.
01/10/2012 JACK.PLUMBING(1)