Brian, On Tuesday 05 October 2004 11:32, Brian Jackson wrote:
On Tuesday 05 October 2004 11:13, Randall R Schulz wrote:
Try this:
% help kill ...
Oh, I did all of that. I went through 12 pages of Google search results as well.
I know how to send a different signal to a process.
I wanted to know how to specify what the value of the signal was. I wanted to set SIGUSR1 to 100 and SIGUSR2 to 101, but ended up modifying the process to look for SIGUSR1 and SIGUSR2 and take the appropriate action.
That's not up to you. (Also, I'm not sure why you'd care what number was associated with a given signal name.) Signals are a kernel thing, and while all of them can be sent from one process to another, most of them are primarily generated by the kernel itself. Given that there are different default dispositions, consequences and side-effects of sending different signals, the kernel must assign the numberic value associated with each conceptual signal.
thanks, brian -- Brian Jackson Photo
Randall Schulz