On my embedded system I'd like to record when the system OOM killer actives, e.g. by setting an env. variable in u-boot. Is there any way to specify a hook function to call on the OOM event?
The idea is to set per application keyboard shortcut. A hook after that application window get focus and before it's lost focus is needed to switch the keybinding. This question is related to ...
Like hooks in svn or git, can I install a server-side hook script for rsync daemon? For sync completion event. I am using FreeBSD9/rsyncd.