Is there a background program for Fedora that keeps track of (important) events (like startup and shutdown time), like the event log on Windows NT systems does?

link|improve this question

29% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Most Unix-like systems have numerous logging daemons which cover specific areas and subsystems. The kernel log daemon on Linux is klogd and it would be where to look for system startup (along with the more general logd daemon.) All such logs are located in the /var/logs directory.

link|improve this answer
Thanks for your answer. I've checked the "messages" file (/var/log) on a Fedora system that booted up at 4 PM, in order to find a "proof" that the system was started at that exact time. The bottom entry is from 9 AM today. So this file doesn't seem to contain time information of when the system was started or shut down. I couldn't find any file called something like "logd". The other files in this directory don't sound like what I'm looking for (except "maillog", which is empty). Where do I have to look? – basic6 Jun 28 '11 at 14:30
Kernel messages, which is where you'd probably find the earliest boot time messages are in /var/log/message – Amazed Jun 29 '11 at 7:27
I've double-checked it on Fedora and Ubuntu. The Fedora systems save the shutdown message "kernel: Kernel logging (proc) stopped." and the startup message "kernel: imklog 5.7.9, log source = /proc/kmsg started." in /var/log/messages - that's what I was looking for. On Ubuntu the log file is called "syslog". – basic6 Jun 29 '11 at 9:35
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.