Watching log files

Need to watch log files in real time? Found the following tools quite useful for this.

Intall the following

apt-get install xwatch logtop whowatch

xwatch – great tool for xwindows, do: ssh -X mrfoo@myserver xwatch /var/log/auth.log  or whatever log you want to follow

or use logtop

 tail -f auth.log | logtop

Live update of who is logged in or logging in:
whowatch

Advertisements

About hedscratchers

A UK ex-pat now living in the USA.
This entry was posted in Linux & Solaris. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s