Thursday, July 8, 2010

Reading generated logs in Real Time

Step 1: To help troubleshoot quicker, you may want to view the log in real time
# less /var/log/messages

Step 2: Press "F"
.....
.....
Waiting for data... (interrupt to abort)

Step 3: To exit, press
Ctrl+C
Alternatively, you can scroll forward or backward using "d" and "b" respectively.

No comments: