ktrace

From Wikipedia, the free encyclopedia
(Redirected from Kdump (BSD))
Jump to navigation Jump to search
ktrace
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inC[1]
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemBSD Unix and Mac OS X
    Available inEnglish
    TypeTracing

    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]

    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

    [edit | edit source]
    • 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

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).