LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2011, 09:34 AM   #1
P5music
Member
 
Registered: Nov 2010
Posts: 111

Rep: Reputation: 0
syslog output with timestamps and documentation


Hello,
I ask to experts:
1) is it possible to have dmesg output (syslog) with timestamps for each occurrence of the boot log?
2) where to find documentation/advice about which kernel functions yield each occurrence?
Thanks in advance
 
Old 01-04-2011, 02:49 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by P5music View Post
1) is it possible to have dmesg output (syslog) with timestamps for each occurrence of the boot log?
dmesg is not the same as syslog....

- syslog messages already have a time stamp (messages generated by syslogd and klogd and configured with /etc/syslog.conf).

If you want a "time-stamp" added to the boot messages you need to enable a kernel setting (Kernel Hacking -> Show timing information on printks). This might however not be the format you expect (I assume you are expecting something like this: Jan 4 09:39:21) it is a precision timer that starts from 0 (not date/time related).

Without any other info I'm not sure if you have to rebuild the kernel to activate this or that there is an option available to activate this without a rebuild.

Quote:
2) where to find documentation/advice about which kernel functions yield each occurrence?
I'm not sure what it is you are looking for, but all the available kernel options can be found here: /usr/src/linux<version>/Documentation (kernel specific) and online: Kernel parameters (might not include all the new/recent stuff).

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to filter in syslog output LinuxLover Solaris / OpenSolaris 1 05-17-2010 01:12 PM
Piping NC output to Logger for syslog karmacop81 Programming 2 11-23-2009 03:52 AM
Documentation Explaining the Output of ls Command lostjohnny Linux - Newbie 3 05-30-2008 11:28 AM
syslog-ng output sidra Linux - Software 4 07-27-2006 01:42 AM
syslog output vexer Slackware 5 06-18-2003 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration