Re: printk and kernel log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 June 2013 03:02, Augusto Mecking Caringi <augustocaringi@xxxxxxxxx> wrote:
> On Mon, Jun 24, 2013 at 6:49 AM, Kevin Wilson <wkevils@xxxxxxxxx> wrote:
>> Hi,
>> When I add printk messages, and then try
>> to read /var/log/messages,
>> I see this:
>>
>> Jun 24 03:43:06 localhost kernel: [ 1858.148661] in my_func1
>> Jun 24 03:44:03 localhost kernel: [ 1915.150953] in my_func2
>>
>> What are the numbers is square brackets  ?  like [ 1858.148661]
>> or [ 1915.150953] ?
>
> Hi Kevin,
>
>     This numbers are timestamps.


To add to Augusto's answer, they are number of seconds since the kernel booted.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux