printk and kernel log

Kevin Wilson wkevils at gmail.com
Thu Jun 27 11:46:50 EDT 2013


Thanks, but unfortuantely this is not so.
On this machine I have:
 /bin/hostname
amd1

Kevin

On Thu, Jun 27, 2013 at 6:37 PM,  <Valdis.Kletnieks at vt.edu> wrote:
> On Thu, 27 Jun 2013 18:08:09 +0300, Kevin Wilson said:
>
>> Jun 24 03:43:06 localhost kernel: [ 1858.148661] in my_func1
>>
>> where is the "localhost" from ?
>
> That's added by your syslog daemon (whatever that might be). It's
> basically the value returned by /bin/hostname
>
>> machines on which the hostname appeared instead of localhost
>
> That's because they had hostname set to something else, and you have it
> set to 'localhost'
>



More information about the Kernelnewbies mailing list