Author

Topic: The Cat was Dead or Alive (Read 326 times)

newbie
Activity: 9
Merit: 0
May 15, 2013, 09:13:40 AM
#1
Fun experiment finished last night: Every morning, I was getting upset because one of my Linux mining boxes would be hung. It would go great for hours during the day, but was dying some time in the night. It would still be ON in the morning, with fans running, but the display would not come on, and it was unresponsive to mouse/keyboard unput. I'd hit the Reset switch and wonder how long it had been dead.

Had it quit mining from some bug when the screen saver had started? Or was it going longer than that, into the night? How long?

So I wrote a quick script which appended the current date to a file every 5 minutes.
Code:
while true; do date >> ~/datelog; sleep 300; done
Result? It was doing fine, and dying right when I turned ON its screen, first thing in the morning!

Ha. I cheated Schroedinger. And the cat was alive, right up until I opened the box. Wink
Jump to: