10-12-2001
daemon
I want to write background running program. How to use daemon function. Please send me source code.
Thanks.
9 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. Programming
how to convert a c program into a Daemon.
thanks in advance
svh (2 Replies)
Discussion started by: svh
2 Replies
5. 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
6. 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
7. 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
8. 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
9. UNIX for Advanced & Expert Users
If my web browser does not support SSL.This means that I can't connect like this "https://xxxxx". My question is how can i make a stunnel4 daemon in client mode ? like when i connect to "http://localhost:3000" in the web browser i am navigating througth "https://www.randomweb.com". I need to know... (0 Replies)
Discussion started by: pepeleches
0 Replies
ICECREAM
DAEMON(1) Icecream User's Manual ICECREAM DAEMON(1)
NAME
iceccd - Icecream daemon
SYNOPSIS
iceccd [-n netname] [-m max_processes] [--no-remote] [-w] [-d | --daemonize] [-l logfile] [-s schedulerhost] [-v [v [v]]] [-r |
--run-as-user] [-b env-basedir] [-u | --nobody-uid nobodyuid] [--cache-limit MB] [-N hostname]
DESCRIPTION
The Icecream daemon has to run on all nodes being part of the Icecream compile cluster. It receives compile jobs and executes them in a ch-
root environment. The compile clients send their compile environment the first time they send a job to a particular daemon, so that the en-
vironment of the daemon doesn't have to match the one of the client.
The daemon also has to run on clients sending compile jobs to the Icecream network. If a node should be able to send compile jobs, but nev-
er receive any, start the daemon with the option -m 0.
All Icecream daemons need to have contact to the Icecream scheduler which controls the distribution of data between compile nodes. Normally
the daemon will automatically find the right scheduler. If this is not the case you can explicitly specify the name of the Icecream network
and the host running the scheduler.
OPTIONS
-n netname
The name of the icecream network the daemon should connect to. There has to be a scheduler running for the network under the same
network name.
-m max_processes
Maximum number of compile jobs started in parallel on machine running the daemon.
--no-remote
Prevents jobs from other nodes being scheduled on this one.
-w
-d, --daemonize
Detach daemon from shell.
-l logfile
Name of file where log output is written to.
-s scheduler_host
Name of host running the scheduler for the network the daemon should connect to. This option might help if the scheduler can't
broadcast its presence to the clients due to firewall settings or similar reasons.
-v, -vv, -vvv
Control verbosity of daemon. The more v the more verbose.
-r, --run-as-user
Force running the daemon with user rights. Usually you will need to run the daemon with root rights.
-b env_basedir
Base directory for storing compile environments sent to the daemon by the compile clients.
-u, --nobody-uid nobodyuid
Id of user nobody. This user id is used when the daemon is dropping privileges.
--cache-limit MB
Maximum size in Mega Bytes of cache used to store compile environments of compile clients.
-N hostname
The name of the icecream host on the network.
SEE ALSO
icecream, scheduler, iceccd, icemon
AUTHOR
Cornelius Schumacher
Icecream April 21th, 2005 ICECREAM DAEMON(1)