How to find out what turned off the computer?

greenoldman

Yesterday, after getting back home I found out my computer is turned off. Since it appeared it was cold shutdown (a lot of disk repairs were shown during boot up) I am wondering what was the cause. For this particular shutdown I probably won't figure it out, but how to set up system (openSUSE 11.4) to log the possible causes in such way, that if nothing is logged it would have to be power cut off.

For now, I can think of several causes of cold shutdown:

  • pressing turn off button (in my case not possible)
  • overheating (possible, because one reason could be fan malfunction, and this can happen)
  • power outage (possible)

I cannot think of anything else. I rule out cracking into the system, because in such case shutdown would be clean.

So, the question is -- how to set up your system, to be prepared for later finding out the cause of cold shutdown?

tshepang

One thing I would do is have a look at /var/log/syslog. It's where Linux kernel and a bunch of other programs (dhclient, NetworkManager, acpid, dbus, ...) log some of their messages. It's extra nice because it will include which log line belongs to which program.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Is it possible to find the MAC adress of a turned off computer somwhere in my LAN?

分類Dev

How can I find out what output resolutions a laptop computer supports?

分類Dev

How does a computer "know" that it is being turned on?

分類Dev

How to find out what modules are used in DNN?

分類Dev

How to get sensor data in service when screen is turned off?

分類Dev

How to remove the FC layer off of a fine turned model keras

分類Dev

Can I safely remove a usb device from a win 7 computer that is turned off?

分類Dev

What argument to pass and how to find out its type?

分類Dev

How to find out what type a rustc::middle::ty::Ty represents?

分類Dev

How to find out what type to use for OpenCV .at function in C++?

分類Dev

How do I find out what a linux command does exactly?

分類Dev

How to find out what's preventing a click from happening?

分類Dev

How to find out what type to use for OpenCV .at function in C++?

分類Dev

notebook turned off while upgrading

分類Dev

How can I find out if Debian 8.6.0 is safe to install and compatible with my computer?

分類Dev

How can -Wgnu-zero-variadic-macro-arguments warning be turned off with Clang?

分類Dev

SCRIPT1030: Conditional compilation is turned off

分類Dev

Would there be any problems with DEP turned off?

分類Dev

Using 'auto' type deduction - how to find out what type the compiler deduced?

分類Dev

How do you find out what Firefox Profile is running when Firefox is running?

分類Dev

My MVC 4 App fails to load on Azure. How do I find out what is wrong?

分類Dev

How to find out what is launching a port scan in the night from my Linux?

分類Dev

How can I find out what version is passed to setup in setup.py?

分類Dev

How to handle a timestamp field where the off set is out of the acceptable bounds

分類Dev

On Android, can I register for a callback that tells me if Bluetooth is turned on or off?

分類Dev

Is it necessary to use the "volatile" qualifier even in case the GCC optimisations are turned off?

分類Dev

Why does Ubuntu boot from flash with the screen turned off?

分類Dev

Cannot find out what's wrong with my service

分類Dev

Find out what program runs in the java.exe process

Related 関連記事

  1. 1

    Is it possible to find the MAC adress of a turned off computer somwhere in my LAN?

  2. 2

    How can I find out what output resolutions a laptop computer supports?

  3. 3

    How does a computer "know" that it is being turned on?

  4. 4

    How to find out what modules are used in DNN?

  5. 5

    How to get sensor data in service when screen is turned off?

  6. 6

    How to remove the FC layer off of a fine turned model keras

  7. 7

    Can I safely remove a usb device from a win 7 computer that is turned off?

  8. 8

    What argument to pass and how to find out its type?

  9. 9

    How to find out what type a rustc::middle::ty::Ty represents?

  10. 10

    How to find out what type to use for OpenCV .at function in C++?

  11. 11

    How do I find out what a linux command does exactly?

  12. 12

    How to find out what's preventing a click from happening?

  13. 13

    How to find out what type to use for OpenCV .at function in C++?

  14. 14

    notebook turned off while upgrading

  15. 15

    How can I find out if Debian 8.6.0 is safe to install and compatible with my computer?

  16. 16

    How can -Wgnu-zero-variadic-macro-arguments warning be turned off with Clang?

  17. 17

    SCRIPT1030: Conditional compilation is turned off

  18. 18

    Would there be any problems with DEP turned off?

  19. 19

    Using 'auto' type deduction - how to find out what type the compiler deduced?

  20. 20

    How do you find out what Firefox Profile is running when Firefox is running?

  21. 21

    My MVC 4 App fails to load on Azure. How do I find out what is wrong?

  22. 22

    How to find out what is launching a port scan in the night from my Linux?

  23. 23

    How can I find out what version is passed to setup in setup.py?

  24. 24

    How to handle a timestamp field where the off set is out of the acceptable bounds

  25. 25

    On Android, can I register for a callback that tells me if Bluetooth is turned on or off?

  26. 26

    Is it necessary to use the "volatile" qualifier even in case the GCC optimisations are turned off?

  27. 27

    Why does Ubuntu boot from flash with the screen turned off?

  28. 28

    Cannot find out what's wrong with my service

  29. 29

    Find out what program runs in the java.exe process

ホットタグ

アーカイブ