08-02-2013
Trap is for signals, what do you want to do?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have app. 20.000 UNIX boxes running mainly Solaris 2.4. Among other things we produce product documentation and have previously used Island Draw to produce images and such. Where do I find objective reviews of similar software packages, have any1 of you done any evaluation?
I´ve searched this... (4 Replies)
Discussion started by: FredrikB
4 Replies
2. UNIX for Dummies Questions & Answers
The majority of the users on our system are "captured" users where they log into script that is launched via their .profile.
The password expiration message flashes by very quickly before they get the "menu" portion of the script to continue.
Other than a sleep at scripts startup to slow... (2 Replies)
Discussion started by: MizzGail
2 Replies
3. Shell Programming and Scripting
Hello all,
I'm hoping to get a little insight from some of the wily veterans amongst you.
I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies
4. UNIX for Dummies Questions & Answers
so I compiled and installed a program, more specifically nmap, on my Mac and it didn't install where it should have (sw/bin is where I've determined).
What I want to know is can I just copy it over there or will I be braking some conections with nmap and other files?
edit -- I've... (0 Replies)
Discussion started by: blowFish@ubuntu
0 Replies
5. Shell Programming and Scripting
Hi folks,
I have tried to add some trap detection in the below script....this script is used to monitor database activities...in a rather awkward way :rolleyes:....
The idea behind adding trap is that....this script creates lots of temporary files in the running folder to store the count... (1 Reply)
Discussion started by: frozensmilz
1 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
That is the last reply I received from my instructor, and I'm looking for some alternatives.
When using... (2 Replies)
Discussion started by: newuser45
2 Replies
7. Shell Programming and Scripting
Hi folks,
I am running a shell script it asks for username and password to stop some service, I need to write some script that it will read username and password from my shell script and then sucessfully stop services without prompting username/password query. (13 Replies)
Discussion started by: learnbash
13 Replies
8. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT OSF1
sigblock
sigblock(2) System Calls Manual sigblock(2)
NAME
sigblock - Provides a compatibility interface to the sigprocmask function
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
int sigblock( int mask );
PARAMETERS
Specifies the signals to be added to the set of signals currently being blocked from delivery.
DESCRIPTION
The sigblock() function causes the signals specified by the mask parameter to be added to the set of signals currently being blocked from
delivery. The signals are blocked from delivery by logically ORing the mask parameter into the signal mask of the process. Signal i is
blocked if the i-th bit in the mask parameter is a value of 1. Only signals with values 1-31 can be masked with the sigblock() function.
NOTES
It is not possible to block SIGKILL. The system provides no indication of this restriction.
The sigblock() function is provided for compatibility to other UNIX systems. Its function is a subset of the sigprocmask() function.
RETURN VALUES
On completion, the previous set of masked signals is returned.
RELATED INFORMATION
Functions: kill(2), sigaction(2), sigpause(3), sigprocmask(2), sigsuspend(2), sigvec(2) delim off
sigblock(2)