Sponsored Content
Top Forums Shell Programming and Scripting créating a daemon under unix Post 56232 by jim mcnamara on Wednesday 29th of September 2004 10:35:03 AM
Old 09-29-2004
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Should a UNIX daemon process close open fds?

I have a UNIX daemon process that's been started by a parent process, an application server. The behavior of this daemon process is to inherit and use the app server's file descriptors (ports/sockets). When I shutdown the app server, the daemon continues to run, because there may be other... (1 Reply)
Discussion started by: kunalashar
1 Replies

2. Shell Programming and Scripting

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 (1 Reply)
Discussion started by: nmajin
1 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. UNIX for Dummies Questions & Answers

I would like to know Would you run the ‘identd’ daemon on UNIX servers?

Would you run the ‘identd' daemon on UNIX servers? can you please Explain. thanks in advance! (3 Replies)
Discussion started by: xoxouu
3 Replies

5. Shell Programming and Scripting

How to write a daemon in Unix?

Hi I have a directory where sometimes a file will come (in a name format say file001.txt). I want to run a job (.ksh file) as soon as a new file comes into the directory. How can I write a shell script which will run in the background and monitor arrival of new file in the directory? ... (11 Replies)
Discussion started by: sbasak
11 Replies

6. Shell Programming and Scripting

How to write daemon in UNIX

Hi Guys, I hope this is the right forum to post this. I have a directory where files will be dumped at any time of the day and I want to run scripts as soon as new files come into the directory. How can I write a daemon that detects when new files have been uploaded to the directory? ... (1 Reply)
Discussion started by: regie101
1 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. UNIX for Dummies Questions & Answers

Creating a backup of UNIX--Need help

My company has a client that has mostly windows machines but has 1 Unix machine(still trying to find out what version..Solaris, AIX, etc) and they want me to do a full backup of this Unix machine and store it on one of their windows servers. Is there a not too difficult way of doing this? ... (1 Reply)
Discussion started by: seanbl
1 Replies

9. Shell Programming and Scripting

Setting up a Daemon in UNIX

I have scheduled a crontab job in AIX 6.1 OS to run twice in an hour which runs for the whole day to process a load. The load which crontab kicks off needs files to arrive at a particular directory and if the files arrive, I process them. It so happens that for the 24 times the crontab... (2 Replies)
Discussion started by: gaugeta
2 Replies
UUIDD(8)						       System Administration							  UUIDD(8)

NAME
uuidd - UUID generation daemon SYNOPSIS
uuidd [options] DESCRIPTION
The uuidd daemon is used by the UUID library to generate universally unique identifiers (UUIDs), especially time-based UUIDs, in a secure and guaranteed-unique fashion, even in the face of large numbers of threads running on different CPUs trying to grab UUIDs. OPTIONS
-d, --debug Run uuidd in debugging mode. This prevents uuidd from running as a daemon. -F, --no-fork Do not daemonize using a double-fork. -k, --kill If currently a uuidd daemon is running, kill it. -n, --uuids number When issuing a test request to a running uuidd, request a bulk response of number UUIDs. -P, --no-pid Do not create a pid file. -p, --pid path Specify the pathname where the pid file should be written. By default, the pid file is written to /run/uuidd/uuidd.pid. -q, --quiet Suppress some failure messages. -r, --random Test uuidd by trying to connect to a running uuidd daemon and request it to return a random-based UUID. -S, --socket-activation Do not create a socket but instead expect it to be provided by the calling process. This implies --no-fork and --no-pid. This option is intended to be used only with systemd(1). It needs to be enabled with a configure option. -s, --socket path Make uuidd use this pathname for the unix-domain socket. By default, the pathname used is /run/uuidd/request. This option is pri- marily for debugging purposes, since the pathname is hard-coded in the libuuid library. -T, --timeout number Make uuidd exit after number seconds of inactivity. -t, --time Test uuidd by trying to connect to a running uuidd daemon and request it to return a time-based UUID. -V, --version Output version information and exit. -h, --help Display help screen and exit. EXAMPLE
Start up a daemon, print 42 random keys, and then stop the daemon: uuidd -p /tmp/uuidd.pid -s /tmp/uuidd.socket uuidd -d -r -n 42 -s /tmp/uuidd.socket uuidd -d -k -s /tmp/uuidd.socket AUTHOR
The uuidd daemon was written by Theodore Ts'o <tytso@mit.edu>. SEE ALSO
uuid(3), uuidgen(1) AVAILABILITY
The uuidd daemon is part of the util-linux package and is available from the Linux Kernel Archive <https://www.kernel.org/pub/linux/utils /util-linux/>. util-linux July 2014 UUIDD(8)
All times are GMT -4. The time now is 09:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy