Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-18-2006, 03:48 PM   #1
Registered: May 2005
Posts: 255

Rep: Reputation: 30
get rid of "printk: # messages suppressed" message

I hate that alert that I keep getting when in a terminal. When ever I try to type or use nano those message fill the window and mess everything up. how do i stop them? thanks
Old 12-19-2006, 03:47 AM   #2
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Check out /etc/syslog.conf; see which messages are sent to "all", change it as you wish [perhaps redirect them to a file/tty etc.]
Old 12-19-2006, 03:56 AM   #3
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Or if you want to remove everything from the console:
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.

#kernel.domainname =

# Uncomment the following to stop low-level messages on console
#kernel.printk = 4 4 1 7
Old 12-21-2006, 06:49 AM   #4
Registered: Feb 2003
Location: FTWorth, TX
Distribution: Gentoo, Debian, CentOS, FreeBSD, NetBSD & OpenBSD
Posts: 55

Rep: Reputation: 15
i believe to prevent messages to printed on the console you should uncomment this line per nx5000
#kernel.printk = 4 4 1 7
kernel.printk = 4 4 1 7
You could also use 3 4 17 if you want once you have edited the /etc/sysctl.conf run
#/sbin/sysctl -p
Old 10-04-2010, 06:37 AM   #5
LQ Newbie
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
some times prink throws messages in the /var/log/messages

you can grep using $cat /var/log/messages | grep "your message"



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux kernel: printk: 39476 messages suppressed. seanfitz Mandriva 4 04-19-2005 04:36 PM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 07:52 PM
How to get rid of "INIT: version 2.85 reloading" messages Arodef Fedora 1 11-02-2004 02:33 AM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 12:18 AM
net: 70 messages suppressed; neighbour table overflow is the message, only problem techguy2 Linux - Networking 0 10-03-2003 07:57 AM

All times are GMT -5. The time now is 10:11 AM.

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