ktrace

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description

Script error: No such module "Infobox".Template:Template other Script error: No such module "Check for unknown parameters".Script error: No such module "Check for conflicting parameters".

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.[1]

Trace files generated by ktrace (named <templatestyles src="Mono/styles.css" />ktrace.out by default) can be viewed in human-readable form by using the kdump utility.[2]

Since Mac OS X Leopard, ktrace has been replaced by DTrace.[3] The identically-named ktrace program in recent macOS versions does not have the same functions as this utility.

See also

  • DTrace, Sun Microsystems's trace version, now running on OpenSolaris, FreeBSD, macOS, and Windows
  • kdump (Linux), Linux kernel's crash dump mechanism, which internally uses kexec
  • SystemTap
  • trace on Linux, part of the Linux Trace Toolkit

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".


Template:Asbox

Template:Asbox