To view the current list of signals, use kill -l (the letter l) command. The list is presented in the form (signal number, signalname)
要查看当前信号列表,使用 -l (字母 l)命令。
3
In the view, you need to define signal handlers using the define_signal method. It takes a hash defining a signalname and a view method to handle that signal.