- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- question:how to delete err info in dmesg output??
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
11-12-2007 02:18 AM
11-12-2007 02:18 AM
question:how to delete err info in dmesg output??
#dmesg find an error
I solve this error and os is OK
after two days
#dmesg I find this error info is always exit
So how long does this error info exit in dmesg output??
how can I delete this error info in dmesg output immediately?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2007 02:38 AM
11-12-2007 02:38 AM
Re: question:how to delete err info in dmesg output??
if you want to see only the message from the last dmesg launched command add the '-' argument to dmesg as explained in the dmesg(1M) man page:
If the - argument is specified, dmesg computes (incrementally) the new messages since the last time it was run and places these on the standard output.
dmesg have a buffer, so, when sufficiently messages are added to its buffer, old messages are pushed-out.
the dmesg(1M) man page have a better explanation than my poor english:
The system error message buffer is of small, finite size.
If you still have the error (timed 2 days ago!!!), its a good think, don't worry.
if you still have the error message dated of today, the problem is not really solved.
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2007 02:38 AM
11-12-2007 02:38 AM
Re: question:how to delete err info in dmesg output??
Because of this, the error will not go away until the buffer wraps around. What you could do is run "dmesg -" which will show you only the new messages since the last time dmesg was run.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2007 02:42 AM
11-12-2007 02:42 AM
Re: question:how to delete err info in dmesg output??
dmesg is an buffer, reset when system is rebooted
Modify each time an event occurs
For me i think, but i'm not sure that is not possible to delete this buffer
Regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2007 03:10 AM
11-12-2007 03:10 AM
Re: question:how to delete err info in dmesg output??
dmesg -
Clears the circular buffer.
May not work on all OS' and/or variants.
Until the error recurrs.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com