10 More Discussions You Might Find Interesting
1. Linux
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
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
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
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
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
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
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
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
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
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
CGRULESENGD(8) libcgroup Manual CGRULESENGD(8)
NAME
cgrulesengd - control group rules daemon
SYNOPSIS
cgrulesengd [options]
DESCRIPTION
cgrulesengd is a daemon, which distributes processes to control groups. When any process changes its effective UID or GID, cgrulesengd
inspects the list of rules loaded from the cgrules.conf file and moves the process to the appropriate control group.
The list of rules is read during the daemon startup is are cached in the daemon's memory. The daemon reloads the list of rules when it
receives SIGUSR2 signal.
The daemon opens a standard unix socket to receive 'sticky' requests from cgexec.
OPTIONS
-h|--help
Display help.
-f <path>|--logfile=<path>
Write log messages to the given log file. When '-' is used as <path>, log messages are written to the standard output. If '-f' and
'-s' are used together, the logs are sent to both destinations.
-s[facility]|--syslog=[facility]
Write log messages to syslog. The default facility is DAEMON. If '-f' and '-s' are used together, the logs are sent to both destina-
tions.
-n|--nodaemon
Don't fork the daemon, stay in the foreground.
-v|--verbose
Display more log messages. This option can be used twice to enable more verbose log messages.
-q|--quiet
Display less log messages. This option can be used twice to enable even less log messages and to only log errors.
-Q|--nolog
Disable logging.
-d|--debug
Equivalent to '-nvvf -', i.e. don't fork the daemon, display all log messages and write them to the standard output.
-u <user>|--socket-user=<user>
-g <group>|--socket-group=<group> Set the owner of cgrulesengd socket. Assumes that cgexec runs with proper suid permissions so it
can write to the socket when cgexec --sticky is used.
FILES
/etc/cgrules.conf
the default libcgroup configuration file
SEE ALSO
cgrules.conf (5)
Linux 2009-02-18 CGRULESENGD(8)