How to force a crash on samba

Peter Samuelson peter at cadcamlab.org
Sun Jun 11 13:24:51 GMT 2000


[Andreas Klein <a.klein at kind-ag.de>]
> i want to send a snmp trap to a network management station via the
> panic action parameter if samba crashes.  To test this, i want to
> force a test on this parameter, maybe force samba to crash.  Does
> anyone have an idea how to do this?

kill -SEGV $(cat /usr/local/samba/var/locks/smbd.pid)

Peter


More information about the samba mailing list