Monitoring kernel messages?

Andrea Reina areina at cca.edu
Sat Jun 3 17:02:03 PDT 2006


You can do "tail -f /var/log/kern.log"

 From the tail manpage:
-f, --follow[={name|descriptor}]
      output appended data as the file grows; -f, --follow, and
      --follow=descriptor are equivalent.

You can do the same thing by opening the log with less, then typing "F",
this has the added advantage that you can scroll back up (after sending a
SIGINT via ctrl-C or kill -2) if you missed something. It can be set up in a
script as "less +F /var/log/kern.log"




More information about the lfs-chat mailing list