LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-18-2006, 03:48 PM   #1
android6011
Member
 
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
introuble
Member
 
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
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

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

#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1

# Uncomment the following to stop low-level messages on console
#kernel.printk = 4 4 1 7
 
Old 12-21-2006, 06:49 AM   #4
sheryco
Member
 
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
Quote:
#kernel.printk = 4 4 1 7
to
Quote:
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
Quote:
#/sbin/sysctl -p
 
Old 10-04-2010, 06:37 AM   #5
amarknm
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"

Thanks,
Amar
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:50 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