Ktrace
ktrace is a utility included with certain versions of BSD Unix and Mac OS X that traces kernel interaction with a program and dumps it to disk for the purposes of debugging and analysis. Traced kernel operations include system calls, name translations, signal processing, and I/O. Trace files generated by ktrace (named by default) can be viewed in human-readable form by using the kdump utility. Since Mac OS X Leopard, ktrace has been replaced by DTrace. The identically-named ktrace program in recent macOS versions does not have the same functions as this utility.
ktrace is a utility included with certain versions of BSD Unix and Mac OS X that traces kernel interaction with a program and dumps it to disk for the purposes of debugging and analysis. Traced kernel operations include system calls, name translations, signal processing, and I/O. Trace files generated by ktrace (named by default) can be viewed in human-readable form by using the kdump utility. Since Mac OS X Leopard, ktrace has been replaced by DTrace. The identically-named ktrace program in recent macOS versions does not have the same functions as this utility.
References
No reference rows published for this article.
Cite this article
MLA
"Ktrace." encyclopegia.org, 2025, https://encyclopegia.org/wiki/ktrace. Accessed 24 November 2026.
Chicago
"Ktrace." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ktrace.
APA
encyclopegia.org. (2025). Ktrace. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ktrace
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON