2 ms·
I have used SIGUSR1 and SIGUSR2 for this purpose at work.
by war1025 7y ago
I have used SIGUSR1 and SIGUSR2 for this purpose at work.
- masklinn 7y agoThe problem of SIGUSR is it has no defined semantics and defaults to terminating the application, so you can't just throw SIGUSRs at random process, you need to know somehow that the process does something useful. Furthermore I don't think sigusrs have a control code. SIGINFO is ignored by default, and pretty clearly an info-dump trigger, so you can throw ^T at any random utility you're running, worst case scenario is you'll just get a time-type dump.