156-587 · Question #93
Which command is used to write a kernel debug to a file?
The correct answer is C. fw ctl kdebug -T -f > debug.txt. fw ctl kdebug is the correct Check Point command for capturing kernel debug output, and -f is the flag that directs that output to a file - making C the right answer. The -T flag adds timestamps to each debug line, which is standard practice for log analysis. Why the distractors
Question
Which command is used to write a kernel debug to a file?
Options
- Afw ctl kdebug -T -I > debug.txt
- Bfw ctl debug -S -t > debug.txt
- Cfw ctl kdebug -T -f > debug.txt
- Dfw ctl debut -T -f > debug.txt
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- C91% (21)
Explanation
fw ctl kdebug is the correct Check Point command for capturing kernel debug output, and -f is the flag that directs that output to a file - making C the right answer. The -T flag adds timestamps to each debug line, which is standard practice for log analysis.
Why the distractors fail:
- A uses
-I(capital i) instead of-f- there is no-Iflag in this context, making it an invalid command. - B uses
fw ctl debug, which is a different command used to set or clear kernel debug flags/modules, not to write debug output to a file;-Sresets flags rather than capturing output. - D contains a typo -
debutinstead ofdebug- making it a non-existent command that would simply error out.
Memory tip: Associate kdebug → -f ile - the "k" stands for kernel and -f sends it to a file. If you see fw ctl debug (without the "k"), think configure flags, not capture output.
Topics
Community Discussion
No community discussion yet for this question.