exam questions

Exam 156-587 All Questions

View all questions & answers for the 156-587 exam

Exam 156-587 topic 1 question 76 discussion

Actual exam question from Checkpoint's 156-587
Question #: 76
Topic #: 1
[All 156-587 Questions]

You need to run a kernel debug over a longer period of time as the problem occurs only once or twice a week. Therefore, you need to add a timestamp to the kernel debug and write the output to a file but you can’t afford to fill up all the remaining disk space and you only have 10 GB free for saving the debugs. What is the correct syntax for this?

  • A. fw ctl kdebug -T -f -m 10 -s 1000000 -o debugfilename
  • B. fw ctl debug -T -f -m 10 -s 1000000 -o debugfilename
  • C. fw ctl kdebug -T -f -m 10 -s 1000000 > debugfilename
  • D. fw ctl kdebug -T -m 10 -s 1000000 -o debugfilename
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
keikei1228
4 weeks, 1 day ago
Selected Answer: A
The correct answer is: A. fw ctl kdebug -T -f -m 10 -s 1000000 -o debugfilename To run a kernel debug over a longer period of time while ensuring that the output does not fill up the disk space, the following options are used: ・-T: Adds a timestamp to the debug output. ・-f: Runs the debug in the foreground. ・-m 10: Limits the maximum size of the debug file to 10 GB (in this case, 10 GB is specified as the free space available). ・-s 1000000: Specifies the maximum number of lines to store in the debug file. ・-o debugfilename: Writes the debug output to the specified file (debugfilename). C. fw ctl kdebug -T -f -m 10 -s 1000000 > debugfilename: This syntax uses > for redirection, which may not properly handle file rotation and size limitations.
upvoted 1 times
...
922f9b2
1 month, 1 week ago
Selected Answer: A
C is wrong, you can check in the lab, would give you below [Expert@R82:0]# fw ctl kdebug -T -f -m 10 -s 1000000 > debugfilename -m option requires -o Usage: fw ctl kdebug [-f] [-o <file>] [-b <buffer size>] [-k] [-v ("<vs ids>"|all)] [-t|-T] [-p fld1[,fld2..] [-m num [-s size]] -t/-T to print the time field (seconds/microseconds) -p to print specific fields all|proc|pid|mid|type|freq|time|ticks|tid|text|errno|host|vsid|cpu -m - number of cyclic files, -s - size of each
upvoted 2 times
...
amitkor
2 months, 1 week ago
Selected Answer: C
there is no flag for output file as was also shown in other questions in this exam. in kdebug the output is directly into a text file using >
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...