Click to See Complete Forum and Search --> : logs for unix


hongman
05-09-2005, 01:41 PM
Hi all

Where does Linux keep its logs as to why/when ethernet connections are dropped/killed/brought back up?

Cheers

Hong

madcompnerd
05-09-2005, 01:52 PM
dmesg
/var/log/messages

Usually.

hongman
05-09-2005, 02:30 PM
I meant Linux, sorry if that makes a difference.

dmesg only has stuff about devices, and I dont have a /var/log/messages.

I have syslog...that seems to detail a few bits, like 'connection was terminated'.

But..

1)it only dates back to april 21
2)does it get anymore specific as to how it was killed, i/e by command, by a service, etc?

madcompnerd
05-09-2005, 02:38 PM
I know you meant linux, what I said may not work on most Unices.

hongman
05-09-2005, 02:42 PM
Thanks.

Any thoughts as yto the dates, why they aren't bang up to date?

madcompnerd
05-09-2005, 03:26 PM
syslog dumps to it occasionally, not constantly.

hongman
05-09-2005, 03:28 PM
Ok, thanks!

SpookyFox
05-09-2005, 08:18 PM
Unices = plural of Unix?

voidinit
05-14-2005, 07:53 AM
Yes, unicies = unix in multiple.

However, if you are running a GNU/Linux system of any sort, a quick look at /etc/syslog.conf will tell you which log messages are going to where. Dmesg deals with kernel messages and it's pretty much constant.