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

ktrace
Written inC[1]
Operating systemBSD Unix and Mac OS X
Available inEnglish
TypeTracing

Trace files generated by ktrace (named ktrace.out by default) can be viewed in human-readable form by using the kdump utility.[3]

Since Mac OS X Leopard, ktrace has been replaced by DTrace.[4] 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


🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025