09-27-2014
Quote:
Originally Posted by
RudiC
It's not sending "a" signal, but it needs to be THE signal that has been reserved for that function.
You are right, my bad. I intended to write "such a signal", but skipped a word. Thanks for correcting that.
bakunin
9 More Discussions You Might Find Interesting
1. HP-UX
Hello,
I am New to Unix.
I am Using HP-UX 9000 Series for my Application.
I am Currently Facing an Issue that the error messages are being written in the syslog file instead of the Application Log File. The Codes for that Syslog.h is written in Pro*C.
I want to know how to Redirect these... (3 Replies)
Discussion started by: balasubramaniam
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
we are trying to enable auditing for few oracle 9i database. and right now it writies into adump directory. As adump can be read/write by oracle user so could it be possible to write into syslog while oracle keeps writing to adump .
thanks in advance.
Pk (2 Replies)
Discussion started by: p4cldba
2 Replies
3. Shell Programming and Scripting
hello All,
I have the login name and pasword. I want to know how to use this info and open a file and write to it.
Ex: login: expr
pasword: xxxx
file: /expr/tmp.txt
I know how to use ftp (use Net::FTP) and upload files but I want to know how to write to a file.
Thanks, (4 Replies)
Discussion started by: rimser9
4 Replies
4. UNIX for Advanced & Expert Users
Hello Forumers!
Has anyone successfully implemented forwarding of syslog messages to a remote server which is listening on a port other than udp514?
Thanks! (3 Replies)
Discussion started by: bluescreen
3 Replies
5. Shell Programming and Scripting
I have several production servers and 1 offline server. Production server continuously generates new log files for my application. Depending on time of day new files may be generated every few seconds and at other times every few hours. I also have an offline server where I would like to pull log... (3 Replies)
Discussion started by: yoda9691
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I created central syslog server, but it's not accepting the messages from remote. Not sure why I can't start the service with -r options? Please help.
# service syslog restart
Shutting down kernel logger:
Shutting down system logger: ... (1 Reply)
Discussion started by: samnyc
1 Replies
7. Linux
I found a script for automatically push tomcat logs to syslog server which is locate in same server. How do I change it to push logs to remote server?
log4j.rootLogger=INFO, WARN, console, file, SYSLOG
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.append=true... (2 Replies)
Discussion started by: heshandh
2 Replies
8. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
9. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT MINIX
sigprocm
SIGPROCMASK(2) System Calls Manual SIGPROCMASK(2)
NAME
sigprocmask - manipulate the signal mask
SYNOPSIS
#include <signal.h>
int sigprocmask(int how, const sigset_t *set, sigset_t *oset)
DESCRIPTION
Sigprocmask() examines or manipulates the signal mask. This mask is the set of signals that are currently blocked. The how argument
determines the action that must be performed. In all cases the signal set referenced by oset, if not NULL, will be used to receive the old
signal mask. The set argument, if not NULL, will be used to set or modify the current signal mask.
How can be one of:
SIG_BLOCK Add the signals referenced by set to the mask.
SIG_UNBLOCK Remove the signals referenced by set from the mask.
SIG_SETMASK Set the signal mask to the set referenced by set.
The value of how is ignored if set is NULL.
SEE ALSO
sigaction(2), sigpending(2), sigsuspend(2), sigset(3).
DIAGNOSTICS
Returns 0 on success and -1 on error. The error code is EFAULT for a bad set or oset address, or EINVAL for a bad how argument.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
SIGPROCMASK(2)