The ktrace utility enables kernel trace logging for the specified processes. Kernel trace data is logged to the file ktrace.out. The kernel operations that are traced include system calls, namei translations, signal processing, and I/O.
Once tracing is enabled on a process, trace data will be logged until either the process exits or the trace point is cleared. A traced process can generate enormous amounts of log data quickly; It is strongly suggested that users memorize how to disable tracing before attempting to trace a process. The following command is sufficient to disable tracing on all user-owned processes, and, if executed by root, all processes:
$ ktrace -C
The trace file is not human readable; use kdump(1) to decode it.
The utility may be used only with a kernel that has been built with the "KTRACE" option in the kernel configuration file.
Looking for the best programs similar to ktrace? We reviewed our top picks below. Let's see if there are any ktrace alternatives that work on your platform.
DTrace is a performance analysis and troubleshooting tool for Solaris, Mac OS X and FreeBSD.
Features:
ktap is a script-based dynamic tracing tool for Linux. It uses a scripting language and lets users trace the Linux kernel dynamically. ktap is designed to give...
Features:
SystemTap provides instrumentation for a live running kernel and user-space applications.
Features:
Add your reviews & share your experience when using ktrace to the world. Your opinion will be useful to others who are looking for the best ktrace alternatives.
Table of Contents
Popular Alternatives
iOS Alternatives
Android Alternatives
Copyright © 2021 TopAlter.com
Sites we Love: AnswerBun, MenuIva, UKBizDB, Sharing RPP