Sponsored Content
Full Discussion: Creating a Daemon??
Top Forums Shell Programming and Scripting Creating a Daemon?? Post 69173 by Just Ice on Tuesday 12th of April 2005 05:52:16 PM
Old 04-12-2005
what do you need a daemon process for? ... anyways, it can be any program that does it's work in the background ... see startup files in /etc/rc?.d/S* (solaris), /sbin/rc?.dS* (hp-ux), etc. for reference on how to format auto startup files ....

Last edited by Just Ice; 04-12-2005 at 06:53 PM.. Reason: spelling
 

9 More Discussions You Might Find Interesting

1. Programming

daemon

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 toucher.sh & Toucher.sh #!/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

Daemon

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)

NAME
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/com.apple.xgridagentd.plist agent launchd control file /System/Library/LaunchDaemons/com.apple.xgridcontrollerd.plist 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 bugreport.apple.com Mac OS X April 2, 2009 Mac OS X
All times are GMT -4. The time now is 09:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy