backfire(4) Driver backfire(4)NAME
backfire - send a signal from driver to user
DESCRIPTION
The backfire driver reads a numerical string that is sent to the /dev/backfire device and sends the corresponding signal to the calling
user program. Reading from /dev/backfire returns the time of the day when the most recent sent request was serviced or 0, if a sent request
was not yet received. The time of the day is displayed in seconds since 1970-01-01 00:00:00 UTC followed by the fraction of the second in
microseconds separated by a comma.
PURPOSE
The backfire driver is normally used in combination with the program sendme to benchmark the performance of the kernel's signal sending
capabilities.
EXAMPLES
head -1 /dev/backfire
0,0
trap "echo Got signal 7" 7
echo 7 >/dev/backfire
Got signal 7
head -1 /dev/backfire
1234567890,123456
AUTHORS
Carsten Emde <C.Emde@osadl.org>
SEE ALSO sendme(8)
0.1 backfire(4)
Check Out this Related Man Page
PCNTL_SIGNAL_DISPATCH(3) 1 PCNTL_SIGNAL_DISPATCH(3)pcntl_signal_dispatch - Calls signal handlers for pending signalsSYNOPSIS
bool pcntl_signal_dispatch (void )
DESCRIPTION
The pcntl_signal_dispatch(3) function calls the signal handlers installed by pcntl_signal(3) for each pending signal.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
pcntl_signal_dispatch(3) example
<?php
echo "Installing signal handler...
";
pcntl_signal(SIGHUP, function($signo) {
echo "signal handler called
";
});
echo "Generating signal SIGHUP to self...
";
posix_kill(posix_getpid(), SIGHUP);
echo "Dispatching...
";
pcntl_signal_dispatch();
echo "Done
";
?>
The above example will output something similar to:
Installing signal handler...
Generating signal SIGHUP to self...
Dispatching...
signal handler called
Done
SEE ALSO pcntl_signal(3), pcntl_sigprocmask(3), pcntl_sigwaitinfo(3), pcntl_sigtimedwait(3).
PHP Documentation Group PCNTL_SIGNAL_DISPATCH(3)
Hello everybody,
I have a file like this : "window 1 truck 3 duck 2... fire 1... etc..." and I would like to print the following number of a word I am searching for. (For example here, if I search for the word "fire", I will print "1")
Thank you for your help ! (7 Replies)
Hi there, I have a bit of code similar to below (which ive actually got from perldoc, but mine is similar enough)
$sth = $dbh->prepare(q{ SELECT region, sales FROM sales_by_region });
$sth->execute;
my ($region, $sales);
# Bind Perl variables to columns:
$rv =... (4 Replies)
Hi all,
I am new to linux routing and would like to keep a possible running dialog about some scripts I have been studying and what the different parts of them mean. We are using Openwrt backfire along with openvpn and Swyx as VoIP. My goal is to eventually implement some QoS using dsmark, but... (1 Reply)
Was wondering if anyone has come across any situation where you do your best to help users and in return you get a nice escalation from top level management!
Here's my story:
One fine morning, I was sitting idle, doing next to nothing, I got an alert from helpdesk people about a problem with... (30 Replies)