QuestionQ45

Advanced Kernel Debugging

You must run a kernel debug for an extended period because the problem occurs only once or twice per week. Therefore, you need to add a timestamp to the kernel debug and write its output to a file, but you cannot afford to use all remaining disk space and have only 10 GB free for saving the debugs. What is the correct syntax for this?

Explanation

fw ctl kdebug -T -f -o <file> -m <number of cyclic files> -s <size of each cyclic file in KB> collects continuous kernel debug output with microsecond timestamps into cyclic files. With -m 10 and -s 1000000, the output is capped at approximately 10 GB rather than growing until the disk is full.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!