How do I set the way TotalView handles signals?
This tip is based on a question submitted by
David James from EDS
It depends upon what you want to do. If you just want to override the way signals are handled one time, use the File > Signals command. If, however, you want to override them every time you use TotalView, you can use the TV::signal_handling_mode CLI variable within your .tvdrc file. (This variable was added at Release 6.0) You do not need to set all signals, just the ones you are changing.
For example, here is the command you'd enter into your .tvdrc file if you want TotalView to resend a SIGTERM signal:
dset TV::signal_handling_mode {Resend=SIGTERM}
Chapter 4 of the "TotalView Reference Guide" describes
setting and using this variable. (You'll need to scroll the page to locate this
information.) Chapter 3 of the "TotalView Users Guide" tells you about
.tvdrc files.
You can find tips that we've already sent out in our Tip Archive
Help us improve these tips!