Visit Our UNIX and Linux User Community

Full Discussion: Creating a Daemon??
Top Forums Shell Programming and Scripting Creating a Daemon?? Post 69167 by nmajin on Tuesday 12th of April 2005 03:45:15 PM
Old 04-12-2005
Creating a Daemon??

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
Test Your Knowledge in Computers #300
Difficulty: Easy
The basis for the first versions of the Slackware Linux distributions was Debian Linux.
True or False?

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

is this daemon effiecient???

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 & #!/usr/local/bin/bash while ((1)) do ... (2 Replies)
Discussion started by: Shakey21
2 Replies

3. Programming

Creating a Daemon

how to convert a c program into a Daemon. thanks in advance svh (2 Replies)
Discussion started by: svh
2 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

créating a daemon under unix

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

help needed with creating challenging bash script with creating directories

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

Creating a daemon to run in background

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

Creating a .profile, displaying system variables, and creating an alias

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

Daemon process

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
xgridctl(8)						    BSD System Manager's Manual 					       xgridctl(8)

xgridctl -- Xgrid Daemon Control Interface SYNOPSIS
xgridctl [target] action OPTIONS
The optional target is one of the following: controller perform the action for the xgricontrollerd daemon agent perform the action for the xgridagentd daemon The action is one of the following: status print status for the chosen daemon, or print status for all daemons if no target is specified start enable and start the chosen daemon, or start all enabled daemons if no target is specified stop disable and stop the chosen daemon, or stop all daemons if no target is specified restart stop and then enable and start the chosen daemon, or stop all daemons and then start all enabled daemons if no target is speci- fied RETURN VALUES
0 completed succesfully 1 an error occurred FILES
/usr/libexec/xgrid/xgridagentd agent daemon /usr/libexec/xgrid/xgridcontrollerd controller daemon /System/Library/LaunchDaemons/ agent launchd control file /System/Library/LaunchDaemons/ controller launchd control file EXAMPLES
Print status of agent and controller: $ xgridctl status Start the controller and set it to run at startup: $ xgridctl controller start Stop the agent and set it to not run at startup: $ xgridctl agent stop SEE ALSO
xgrid(1) launchd(8) HISTORY
This program was first introduced in Mac OS X 10.4 "Tiger". It was inspired by apachectl(8). The "on" and "off" actions were deprecated in Mac OS X 10.5 "Leopard". BUGS
Bug reports can be sent to Mac OS X April 2, 2009 Mac OS X

Featured Tech Videos

All times are GMT -4. The time now is 11:49 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy