Setting up a serial console can be more reliable than logging over the
network or to disk.

On Thu, Jul 9, 2020 at 12:14 PM Ben Koenig <[email protected]> wrote:

> Systems logs in /var/log keep a running tab of events as they occur. In the
> event of an unexpected shutdown the last message will be whatever was
> happening at the moment of the crash.
>
> You can either reboot and then scroll up in the logs to that point in time,
> or you can open an SSH session and monitor the log from another computer.
>
>
> When the crash occurs and SSH is killed you should still have the most
> recent message on your terminal.
>
> -Ben
>
> On Thu, Jul 9, 2020, 10:37 AM Dick Steffens <[email protected]> wrote:
>
> > I have a Lenovo Thinkcentre M58P. It works fine until it doesn't. It's
> > not a primary machine, but it is up 24/7. The problem is that at some
> > point it hangs. The only way to get it to work again is to power it off
> > and then restart it. I'd like to devise a log of some sort that I can
> > run from another machine that will give me some idea of what was going
> > on when it hung. I envision some kind of ping from my main machine to
> > the troublesome one. I'm assuming I could use a script run by CRON (if
> > that's saying it right). Is there something more useful than just ping?
> >
> > --
> > Regards,
> >
> > Dick Steffens
> >
> > _______________________________________________
> > PLUG mailing list
> > [email protected]
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to