e01.org

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.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Ktrace". 1753702091. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1302983300

JSON record · API collection · citation policy