Re: printk

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

 



On 6/16/05, Arlen Nascimento <arlen.nascimento@xxxxxxxxx> wrote:
> Does anybody know how do I print 'printk()' output to console without
> changing syslog configuration?
> e.g.: each 5 seconds print 'i'm here'

Read the 4th chapter of LDD : http://www.xml.com/ldd/chapter/book/ch04.html

Well you can get all the kernel messages printed by printk, by
changing the console loglevel, you can do that by

# echo 8 > /proc/sys/kernel/printk

regards,
- Gaurav

> 
> 
> --
> Arlen Nascimento
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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