CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - sys.d
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - sys.d - List
[
Linux-Unix
]
metalog-0.6.tar
DL : 0
Metalog is a modern replacement for syslogd and klogd. The logged messages can be dispatched according to their facility, urgency, program name and/or Perl-compatible regular expressions. Log files can be automatically rotated when they exceed a certain size or age. External shell scripts (e.g., mail) can be launched when specific patterns are found. Metalog is easier to configure than syslogd and syslog-ng, accepts unlimited number of rules and has (switchable) memory bufferization for maximal performance.-Metalog is a modern replacement for syslog d and klogd. The messages can be logged dispatch ed according to their facility, urgency, program name and / or Perl-compatible regular e xpressions. Log files can be automatically rot ated when they exceed a certain size or age. Exte rnal shell scripts (e.g., mail) can be launched when specific patterns ar e found. Metalog is easier to configure than sys logd and syslog-ng. accepts unlimited number of rules and has (swit chable) memory bufferization for maximal perf ormance.
Date
: 2008-10-13
Size
: 99.34kb
User
:
robo
[
Linux-Unix
]
metalog-0.6.tar
DL : 0
Metalog is a modern replacement for syslogd and klogd. The logged messages can be dispatched according to their facility, urgency, program name and/or Perl-compatible regular expressions. Log files can be automatically rotated when they exceed a certain size or age. External shell scripts (e.g., mail) can be launched when specific patterns are found. Metalog is easier to configure than syslogd and syslog-ng, accepts unlimited number of rules and has (switchable) memory bufferization for maximal performance.-Metalog is a modern replacement for syslog d and klogd. The messages can be logged dispatch ed according to their facility, urgency, program name and/or Perl-compatible regular e xpressions. Log files can be automatically rot ated when they exceed a certain size or age. Exte rnal shell scripts (e.g., mail) can be launched when specific patterns ar e found. Metalog is easier to configure than sys logd and syslog-ng. accepts unlimited number of rules and has (swit chable) memory bufferization for maximal perf ormance.
Date
: 2026-01-01
Size
: 99kb
User
:
robo
[
Linux-Unix
]
UNIXCcode
DL : 0
用C语言编写的Unix代码实例 供大家参考 -#include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <stdio.h> #include <sys/stat.h> #define VERIFYERR(a, b) if (a) fprintf(stderr, " s failed.\n", b) else fprintf(stderr, " s success.\n", b) void main(int argc, char*argv[]) { int semid, index, i struct semid_ds ds unsigned short array[100] if (argc != 4) return semid = atoi(argv[1]) index = atoi(argv[2]) if (argv[3][0] == c ) { /* 创建信号量*/ VERIFYERR(semget(semid, index, 0666|IPC_CREAT|IPC_EXCL) < 0, "Create sem") } else if (argv[3][0] == d ) { /* 删除消息队列*/ VERIFYERR(semctl(semid, 0, IPC_RMID, NULL) < 0, "Delete sem") } else if (argv[3][0] == v ) { /* 查看信号量信息*/ fprintf(stderr, "T ID INDEX SEMVAL SEMPID SEMNCNT SEMZCNT\n") fprintf(stderr, "s 6d 6d 10d 10d 10d 10d\n", semid, /* 标识号*/ index, /* 信号量序号*/ semctl(semid, index, GETVAL), /* 信号量值*/ semct >
Downloads
>
源码/资料
Date
: 2026-01-01
Size
: 147kb
User
:
netdavid
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.