- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to clear message in dmesg with out rebooti...
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
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
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
тАО06-09-2003 05:41 PM
тАО06-09-2003 05:41 PM
How to clear message in dmesg with out rebooting the server..
I need to find out how to clear message in dmesg with out rebooting the server. Its it possible...?
Best Regards
Ashan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2003 05:49 PM
тАО06-09-2003 05:49 PM
Re: How to clear message in dmesg with out rebooting the server..
I don't think so. Unless you reboot your server it will not get cleared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2003 06:00 PM
тАО06-09-2003 06:00 PM
Re: How to clear message in dmesg with out rebooting the server..
Don't know if it helps but you can use a "-" flag to dmesg which will only show the messages since it was last run.
i.e # dmesg -
The man page has example for using this in cron.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2003 06:02 PM
тАО06-09-2003 06:02 PM
Re: How to clear message in dmesg with out rebooting the server..
# log kernel diagnostic messages every 10 minutes
05,15,25,35,45,55 * * * * /usr/sbin/dmesg - >>/var/adm/dmesg.log
The secret is to run dmesg with the - option that reports only new information.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2003 06:16 PM
тАО06-09-2003 06:16 PM
Re: How to clear message in dmesg with out rebooting the server..
If you really want to overwrite the existing dmesg, then you will need to create some errors like filling up a filesystem or forcefully exceeding some kernel parameters like nfile etc.,
You cannot clear the dmesg.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2003 06:25 PM
тАО06-09-2003 06:25 PM
Re: How to clear message in dmesg with out rebooting the server..
Is it something wrong with my reply ??????????