KTRDUMP(8)
π
KTRDUMP β bestie's guide to the ktrdump(8) manual page π
okay so real quick: this is KTRDUMP(8), a System Manager's Manual situation, and it's literally the tool that prints kernel ktr trace buffer. that's the whole vibe. let's get into it β¨
β¨ NAME β¨
ktrdump β print kernel ktr trace buffer π«Ά
πΈ SYNOPSIS πΈ
ktrdump [-cflqrtH] [-i ktrfile] [-M core] [-N system] [-o outfile]
π DESCRIPTION π
so the ktrdump utility is used to dump the contents of the kernel ktr trace buffer. that's it, that's the job, and it does it slayfully π
these are the options you can give it:
-cβ prints the CPU number that each entry was logged from. which-core energy fr π§-lβ polls the kernel ktr trace buffer periodically, dumping any new events after each poll. it's giving "keep refreshing the feed" π-fβ prints the file and line number that each entry was logged from. receipts included, no cap π-qβ quiet mode; do not print the column header. minimalism era π-rβ prints relative timestamps rather than absolute timestamps. "3 seconds ago" vibes instead of a whole date β±οΈ-tβ prints the timestamp for each entry. time stamps on everything, main character documentation β¨-Hβ prints the thread ID for each entry. know exactly which thread was being chaotic π§΅-iktrfileβ file containing saved ktr trace events; for more information see thektr(4)manual page. lowkey go readktr(4), it's iconic π-Nsystemβ the kernel image to resolve symbols from. the default is the value returned viagetbootfile(3). it knows where the kernel lives already, bestie π-Mcoreβ the core file or memory image to read from. the default is/dev/mem. classic default, we love her π-ooutfileβ the file to write the output to. the default is standard output. so like, to the terminal, unless you say otherwise π₯οΈ
π¦ SEE ALSO π¦
π HISTORY π
the ktrdump utility first appeared in FreeBSD 5.0. a true OG, periodt β
π AUTHORS π
the ktrdump utility was implemented by Jake Burkholder <jake@FreeBSD.org>.
this manual page was written by Chad David <davidc@FreeBSD.org>.
both of them ate and left no crumbs, we simply must stan π
and that's the whole page bestie!! this little beauty comes to you from Debian, dated October 22, 2018 β okay so it's a little vintage but vintage is literally iconic, iykyk πβ¨π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2002 Chad David
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms