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
LEARN ABOUT OSF1
writesrv
writesrv(8) System Manager's Manual writesrv(8)
NAME
writesrv - Lets users send messages to and receive messages from a remote system.
SYNOPSIS
/usr/sbin/writesrv
DESCRIPTION
The writesrv daemon allows users to send messages to users on a remote system, and to receive responses from users on a remote system with
the write command.
The writesrv command receives incoming requests from a write command and creates a server process to handle the request. This server
process communicates with the client process (write) and provides whatever services are requested.
To perform these services, the writesrv daemon creates a socket on the port defined in the /etc/services file. All requests for service go
as messages to this socket.
STARTING AND STOPPING writesrv.
You can cause the writesrv daemon to be started during system boot with /sbin/init.d/write. The writesrv daemon starts automatically if the
WRITESRV variable is defined properly in /etc/re.config. To start writesrv automatically during system boot, do the following as superuser.
rcmgr set WRITESRV yes
To prevent writesrv from starting automatically during system boot, do the following as superuser:
rcmgr set WRITESRV no
By default, writesrv is not set and therefore /usr/sbin/writesrv does not run.
You can start the writesrv daemon manually as follows:
/sbin/init.d/write start
You can stop writesrv manually as follows:
/sbin/init.d/write stop
NOTES
If the writesrv daemon terminates abnormally (that is, for a system crash, a power failure, or the kill -9 command), someone must manually
clean out the /usr/spool/writesrv directory to remove any files left behind.
RELATED INFORMATION
Commands: write(1)
Files: services(4) delim off
writesrv(8)