CONTENTS
#contents
----
Lastmodified &lastmod;
----
*DEVD [#j15b0458]

**オンボードNIC em0 が高負荷で落ちるので、これを監視して落ちたらシステム・リブートさせたい。 [#q26ec835]

http://www.yosbits.com/opensonar/rest/man/freebsd/man/ja/man5/devd.conf.5.html

http://www.on-sky.net/~hs/misc/?Raspberry+Pi+HA+Server+with+FreeBSD

http://www.yosbits.com/opensonar/rest/man/freebsd/man/ja/man8/devd.8.html?l=ja

/etc/rc.conf

 devd_enable="YES"

/etc/devd/em0.conf

 #system=IFNET, subsystem=fxp0, type=LINK_UP
 notify 0 {
 	match "system"		"IFNET";
 	match "subsystem"	"em0";
 	match "type"		"LINK_DOWN";
 	action "/root/bin/reboot.sh";
 };

/root/bin/reboot.sh

 #!/bin/sh
 /sbin/reboot



----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS