I'm in the unfortunate position where I need to determine what happened to a remote server of ours. I only have SSH access to it and it's a netbook running ubuntu 10.04 32 bit. It dropped offline for 12 hours until someone turned it back on. I need to figure out why it dropped/lost power.

Possible reasons:

  • AC Power got disconnected/was lost and the netbook ran out of battery power
  • Someone put the netbook into sleep mode
  • Someone turned the netbook off
  • The netbook locked up/spontaneously shut down (unlikely?)
  • ???

My question is: Are there logs that indicate power-management activity so I can determine if the netbook went into sleep mode/switched to batter power/whatever?

I've attempted to dig through /var/log/* but the results were less than illuminating without being able to target my approach further.

Additional problems:

  • This happened 3 or so days ago so there's a ton of other stuff in the logs by this point
  • I have no GUI access, SSH only
link|improve this question
Just so I'm clear...it's a netbook, running as a server, and you're trying to figure out how it got turned off several days ago? – Bart Silverstrim Oct 14 '11 at 15:41
Technically you should have some limited GUI access. See the manpage for ssh using -X or -Y. – Bart Silverstrim Oct 14 '11 at 15:43
@BartSilverstrim Yep, that's about the length of it. – adewinter Oct 18 '11 at 13:04
@BartSilverstrim It's true, but the connection isn't what you'd call 'fast' by any stretch of the word. Not sure it'd help me find many answers either (or would it?) – adewinter Oct 18 '11 at 13:05
...probably not. – Bart Silverstrim Oct 18 '11 at 13:10
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.