log daemon


 
Thread Tools Search this Thread
Top Forums Programming log daemon
# 1  
Old 09-11-2002
Question log daemon

How does a log daemon work?
If I'm upto write on, how should I design it?

for example a syslog daemon, how should I make my daemon so that it gets things that hapends in the system?

Or does every program have to call the daemon to log?

please no answers about reading code, I'w tryed and could'nt get a thing.


regards, Esaia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Corrupted daemon.log file

hi, yesterday I made something wrong and deleted daemon.log file. Then created a new file with the same name under the same path but now, it seems that file constructed has been corrupted . In earlier times, it was including regex name. Now there is no regex name. This is the current... (0 Replies)
Discussion started by: baris35
0 Replies

2. Programming

how to programing daemon to create log record every second

i write ..... #include <stdio.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> #define RUNNING_DIR "/tmp" #define LOCK_FILE "exampled.lock" #define LOG_FILE "exampled.log" void log_message(filename,message) char *filename; char *message; { FILE... (2 Replies)
Discussion started by: slackman
2 Replies

3. UNIX for Dummies Questions & Answers

Restart a Daemon

Dear expert, How do i restart a daemon ? I know to use the kill <PID> command to shut down the daemon. But after terminate the daemon, how to restart it back ? :confused: Please advice, many thanks in advance !!! :) (2 Replies)
Discussion started by: kseng2002
2 Replies

4. Shell Programming and Scripting

Daemon 101

I think I have an issue almost like Sammy_T's. I want to make a piece of code run as a daemon. I have some java, along with it 15 classpath's converted to a shell script that I can "runmyjavap". The script is just what I need to run after compiling it: #!/bin/sh java -classpath : ...(from... (3 Replies)
Discussion started by: Miller_K
3 Replies

5. 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

6. AIX

rsync daemon

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

7. Programming

Make a Daemon?

hi can any one tell me how to make an executable to a daemon:confused: (2 Replies)
Discussion started by: sivhard
2 Replies

8. UNIX for Advanced & Expert Users

samba daemon

RedHat 7.1 Problem: can't start the smbd daemon Procedure: #/etc/rc.d/init.d/samba start ps -e ;displays the nmbd daemon running but not smbd #/etc/rc.d/init.d/samba restart ;same thing. nmbd is running but not smbd there is no firewall installed (at least that is what I told... (2 Replies)
Discussion started by: zorro81
2 Replies

9. Programming

What is a daemon process?

This is gonna seem really silly to almost evryone here - but I need to know : what is a daemon process? Thanks (6 Replies)
Discussion started by: Kanu77
6 Replies

10. 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
Login or Register to Ask a Question
sc_zonesd(1M)						  System Administration Commands					     sc_zonesd(1M)

NAME
sc_zonesd - Sun Cluster zone administration daemon SYNOPSIS
/usr/cluster/lib/sc/sc_zonesd DESCRIPTION
The sc_zonesd daemon is a system daemon that is used by Sun Cluster software to track and manage non-global zones. This daemon initially starts when the system comes up. The daemon runs in the global zone only. DIAGNOSTICS
All diagnostic messages are logged through the syslog function. NOTES
The sc_zonesd daemon must be started in superuser mode. The sc_zonesd daemon is controlled by the SMF service sc_zones. The cluster software requires this daemon to run for non-global zone sup- port. If the daemon is killed or if the SMF service is disabled, the cluster node will panic. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscu | +-----------------------------+-----------------------------+ |Interface Stability |Private | +-----------------------------+-----------------------------+ SEE ALSO
syslog(3C), attributes(5) Sun Cluster 3.2 19 May 2006 sc_zonesd(1M)