Log power button

Andrea Venturoli ml at netfence.it
Wed Jan 27 18:55:41 UTC 2016


A server of mine (10.1) is "spontaneusly" rebooting.
This is not a power failure/panic/crash/whatever, since it properly 
shuts down.

I suspect someone is pushing the power button, but I have no physical 
way to check. Problem is, this is not reported in the logs.

I vaguely remember older FreeBSD versions did this once, but I might be 
wrong; I cannot check on this box (100km away), but I tried on another 
one and, to my surprise, the fact that I pressed the power button was 
NOT logged.

Is there any way to enable this?
Maybe I'm dumb, but I looked for this and found nothing.

  bye & Thanks

More information about the freebsd-questions mailing list