10-22-2008
SIGSEGV is signal 11 and its default action is to generate a core. The description is: Segmentation fault -- an address reference boundary error.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am developing a script with a tail -f in it. My problem is how to terminate it and execute the next line. (4 Replies)
Discussion started by: DonVince
4 Replies
2. Shell Programming and Scripting
Hai all..
How do i terminate my telnet session automatically when my java applicatiion exits. i have a file run which executes my java application and takes care of all class and library path settings prior to the execution. I would like to terminate my session when my application exits. The... (4 Replies)
Discussion started by: deepsteptom
4 Replies
3. Shell Programming and Scripting
In my system , there are a system user "cronusr" , it is mainly to run the crontab job in the database .Sometimes the cronjob process will be failure ( due to some reason ) so that many cronusr process are in the system , it affect other process in the system ,
I want to have a script that can... (2 Replies)
Discussion started by: ust
2 Replies
4. Shell Programming and Scripting
I want to have a script to terminate the system process that generated by user oracle_usr and have already processed for over 10 minutes , could suggest the script ? thx (1 Reply)
Discussion started by: ust
1 Replies
5. Shell Programming and Scripting
We have a system user "oracle_usr" always run some process in the system , but sometimes , these processes will not stop automatically until we terminate the process , can suggest the method how to terminate the process that is run by "oracle_usr" and run over 10 minutes ? thx (5 Replies)
Discussion started by: ust
5 Replies
6. Programming
hi all
how to terminate command eecution process.
can you please show me the way
thank you (2 Replies)
Discussion started by: munna_dude
2 Replies
7. UNIX for Dummies Questions & Answers
I have executed a command which has ports that have to be assigned.
then I deleted the files. Now I need to reinstall the command. but it says the ports are not free
How to terminate the port connections and reinstall in solaris unix
---------- Post updated at 09:07 PM ----------... (7 Replies)
Discussion started by: sriki32
7 Replies
8. Shell Programming and Scripting
Hi,
I have written a shell script which is a combination of 5 scripts into one.
We have a Record Claim indicator in the scpt ($rc) with which we can come to an conclusion if the script failed to load the data or if the data loaded successfully.
Can any one please help me as to how to... (16 Replies)
Discussion started by: msrahman
16 Replies
9. Shell Programming and Scripting
Hi,
I am writing a shell script to run a process and write the output of the process to a file.
Inside program.sh:
./process.sh > tempfile
..
open tempfile
do the following
But the problem is that process.sh is running indefinitely and program.sh is not executed completely. Can... (4 Replies)
Discussion started by: dreamgirl314
4 Replies
10. Shell Programming and Scripting
I have a shell script that checks a file state.txt, deletes fit.bin if state.txt is empty. I cron this at 2am, I will want the script to stop by 8am irrespective of the value of state.txt, any ideas?
#!/usr/bin/ksh
while true; do
if ] ; then
echo
else
rm ~/fit.bin
exit
... (8 Replies)
Discussion started by: aydj
8 Replies
sigset(3C) sigset(3C)
NAME
sigset(), sighold(), sigrelse(), sigignore() - signal management
SYNOPSIS
DESCRIPTION
The system defines a set of signals that can be delivered to a process. The set of signals is defined in signal(5), along with the meaning
and side effects of each signal. An alternate mechanism for handling these signals is defined here. The facilities described here should
not be used in conjunction with the other facilities described under signal(2) and sigspace(2).
allows the calling process to choose one of four ways to handle the receipt of a specific signal. sig specifies the signal and func speci-
fies the action handler.
sig can be any one of the signals described under signal(5) except or
func is assigned one of four values: or a function address. The actions prescribed by and are described under signal(5). The action pre-
scribed by and function address are described below:
Hold signal.
The signal sig is held upon receipt. Any pending signal of this signal type remains held. Only one signal of each type
is held.
Note: the signals and cannot be held.
function address Catch signal.
func must be a pointer to a function, the signal-catching handler, that is called when signal sig occurs. specifies that
the process calls this function upon receipt of signal sig. Any pending signal of this type is released. This handler
address is retained across calls to the other signal management functions listed here. Upon receipt of signal sig, the
receiving process executes the signal-catching function pointed to by func as described under signal(5) with the follow-
ing differences:
Before calling the signal-catching handler, the defined action of sig is set to During a normal return from the signal-
catching handler, the defined action is restored to func and any held signal of this type is released. If a non-local
goto (longjmp(3C)) is taken, must be called to restore the defined action to func and release any held signal of this
type.
holds the signal sig. restores the defined action of sig to that specified previously by and are used to establish critical regions of
code. is analogous to raising the priority level and deferring or holding a signal until the priority is lowered by
sets the action for signal sig to (see signal(5)).
RETURN VALUE
Upon successful completion, returns the previous value of the defined action for the specified signal sig. Otherwise, a value of is
returned and is set to indicate the error. is defined in
For the other functions, a 0 value indicates that the call succeeded. A -1 return value indicates an error occurred and is set to indicate
the reason.
ERRORS
fails and the defined action for sig is not changed if any of the following occur:
The func argument points to memory that is not a valid part of the process address space. Reliable detection of this
error is implementation dependent.
and and fail and the defined action for sig is not changed if any of the following occur:
sig is not a valid signal number.
An attempt is made to ignore, hold, or supply a handler
for a signal that cannot be ignored, held, or caught; see signal(5).
WARNINGS
These signal facilities should not be used in conjunction with signal(2) and sigspace(2).
SEE ALSO
kill(1), kill(2), pause(2), signal(2), sigspace(2), wait(2), abort(3C), setjmp(3C), sigpause(3C), signal(5).
STANDARDS CONFORMANCE
sigset(3C)