- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- DMESG - Is there a way to turn it off??
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 07:37 AM
04-15-2005 07:37 AM
DMESG - Is there a way to turn it off??
If someone can explain to me on how this dmesg work.
Thank you in advance.
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 08:39 AM
04-15-2005 08:39 AM
Re: DMESG - Is there a way to turn it off??
What are you trying to remove from your boot messages?
Your boot messages consist of two parts the kernel/driver loading, and the output from daemons loading. Dmesg is the record of kernel and drivers loading.
Say you want to remove error messages from dmesg you need to fix the underlying problem that the kernel/driver is encountering. The messages are also logged in /var/log/dmesg ( at least they are on my system ). If the log isn't being cleaned up as it should you need to look at your log daemon setup.
If you are trying to eliminate messages at boot that do not show up with the dmesg command you need to look at the daemon loading scripts on you machine.
I don't run AS 3 but I assume they still follow the sys V init script scheme. If so, depending on the init level you are at, init levels ( also known as run levels ) work like this:
0 - poweroff
1 - single user, no disks/network/daemons/
2 - server processes, disks should be mounted, syslog active, and essential services started.
3-5 - multiuser environment, I can't remember for sure and if I'm wrong I hope someone else corrects me, but usually run level 3 is where you start X windows.
6 - Reboot level
You choose what daemons to start at which run levels, based on the symbolic links in /etc/rc.d/rc[1-6].d/. The symlinks will be something like S99apache or K99apache. You symlink these to the init scripts in /etc/rc.d/init.d/
Everything in these directories is executed when you enter or leave a specific run level. A simlink that starts with S will be run with the arguments start, one that starts with K will be run with stop as its arguments. The output from these scripts is printed to the console, so you change what they output you change what shows up.
I hope that helps,
--Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 08:43 AM
04-15-2005 08:43 AM
Re: DMESG - Is there a way to turn it off??
dmesg is used to examine or control the kernel ring buffer.
to clear the kernel ring buffer:
dmesg -c
--Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 11:50 AM
04-15-2005 11:50 AM
Re: DMESG - Is there a way to turn it off??
It most certainly isn't something you need to worry about.
But dave isn't quite right, 'dmesg' is just 'boot up messages'. You'll find that when significant events occur during the running of the server (kernel messages in pariticular of which don't get handled by syslog/klog) show up on the console. These are usually what 'dmesg' is getting.
i.e. when there's an issue with a device.. when you plug a new device in.. Output that can occur before any logging daemons are running (output from drivers) etc. etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 05:39 PM
04-15-2005 05:39 PM
Re: DMESG - Is there a way to turn it off??
Someone told me to try this "dmesg -n4"
Does anyone know what will this do for me?
Btw, I have some floating-point errors messages.
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2005 05:52 PM
04-16-2005 05:52 PM
Re: DMESG - Is there a way to turn it off??
Floating point errors are either caused by poorly written software or CPU math problems. A hardware issue would probably cause a kernel panic.
I'd now start to look at what you are running and see if there is anything that could be causing the issue.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2005 06:46 AM
04-17-2005 06:46 AM
Re: DMESG - Is there a way to turn it off??
Where do I start by looking for these error messages?
Again, thanks everyone!!
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2005 06:50 AM
04-17-2005 06:50 AM
Re: DMESG - Is there a way to turn it off??
I do have valid IP address on my eth0 NIC interface.
Please help!
Thank you in advance.
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2005 07:55 PM
04-17-2005 07:55 PM
Re: DMESG - Is there a way to turn it off??
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=111681
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 03:23 AM
04-18-2005 03:23 AM
Re: DMESG - Is there a way to turn it off??
so this is the only thing that could fill up a filesystem, but usually You'll see that repeating errors are recognized by syslogd.
i.e.:
date host vmunix: soft scsi error at somewhere
date host vmunix: soft scsi error at somewhere
date host vmunix: soft scsi error at somewhere
date last message repeated 5000 times
also, dmesg would be hard to disable, and I think it's a risky decision, too, as dmesg is a good means of getting an overview of system hardware config and critical error messages. specific messages can't be filtered out, I'm afraid.
(of course by solving their source You can get rid of them ;)