?
Solved

continously dump dmesg log to a file without losing any of the output

Posted on 2008-11-05
2
Medium Priority
?
527 Views
Last Modified: 2012-06-27
I need to capture the entire dmesg log from the begiining of an event. The event causes so much dmesg that the buffer is full and the beginning of the log is gone. We can't recompile to make the dmesg buffer bigger.
0
Comment
Question by:pogosru
  • 2
2 Comments
 

Author Comment

by:pogosru
ID: 22890886
bash shell
0
 

Accepted Solution

by:
pogosru earned 0 total points
ID: 22891693
I did a bash script with dmesg -c in a while loop nad used the script command
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question