[openib-general] add SIGUSR1 to reopen osm.log

Ira Weiny weiny2 at llnl.gov
Thu Nov 16 17:53:04 PST 2006


Our sysadmins have been rotating OpenSM's osm.log file and then restarting
OpenSM.  As this is a less than optimal solution if you have jobs running on
the system, I wrote this patch (against OFED 1.1) which adds a handler for
SIGUSR1 that reopens OpenSM's log file without a restart.

Ira Weiny
weiny2 at llnl.gov


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigusr1-logreopen-opensm.patch
Type: application/octet-stream
Size: 5019 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20061116/735c7a5d/attachment.obj>


More information about the general mailing list