---
layout: default
title: usr/share/doc/sysbox/html/tool/dumpktrace.html
---
Sysbox: dumpktrace
Sysbox: dumpktrace
Usage: dumpktrace [OPTION]...Dump kernel-trace data. The trace may be stored in the kernel can be dumped using this program. Only the kernel is permitted to write this trace data. Usually system calls are logged here.
The term word used here mean a pointer sized integer number.
Options:
- -c NUM
Set column width in raw mode. Defaults to 8. - -h
Print head of the trace, not the tail. Affects only interpreted mode. - -i
Interpret kernel-trace data - -n NUM
Limit the number of displayed words/entries. Zero interpreted as unlimited. Defaults to zero. - -m
Multi-line entries instead of single-line entries. Affects only interpreted mode. - -r
Dump raw kernel-trace data. - -s INDEX
Set start: word index in raw mode, entry index in interpreted mode. Ignored in tail mode. - -S
Single-line entries instead of multi-line entries. Affects only interpreted mode. Enabled by default. - -t
Print tail of the trace, not the head. Affects only interpreted mode. Enabled by default.
Examples:
$ dumpktrace -ih -n 8 Entry (type=0x5c, user=0x7), param[1]=0x0000000000000000, param[2]=0x0000000001000076, param[3]=0x00000000520015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x00000000520015ab, param[2]=0x0000000002000080, param[3]=0x00000000520015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x0000000000000000, param[2]=0x0000000001000076, param[3]=0x00000000540015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x00000000540015ab, param[2]=0x0000000002000080, param[3]=0x00000000540015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x0000000000000000, param[2]=0x0000000001000076, param[3]=0x00000000560015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x00000000560015ab, param[2]=0x0000000002000080, param[3]=0x00000000560015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x0000000000000000, param[2]=0x0000000001000076, param[3]=0x00000000580015ab, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x7), param[1]=0x00000000580015ab, param[2]=0x0000000002000080, param[3]=0x00000000580015ab, param[4]=0x0000000000010001 $ $ dumpktrace -r -n 0x21 00: 0000000000000187 0000000000000002 00000000000007f9 000000000005075c 0000000000000000 0000000001000014 0000000001000015 0000000000010001 08: 000000000505075c 000000000100001d 000000000100001a 0000000002000020 0000000000000001 000000000505075c 0000000003000020 000000000100001a 10: 0000000003000024 0000000000000001 000000000505075c 0000000003000020 0000000001000076 fffffffffffffffe 0000000000000003 000000000507225c 18: 0000000000000000 0000000002000080 0000000000000000 00000000d002110d 000001000149f598 0000000000000000 000000000707225c 0000000000000000 20: 0000000002000080 $ $ dumpktrace -i -n 4 -s 157 Entry (type=0x5c, user=0x7), param[1]=0x0000000000000000, param[2]=0x00000000010004f2, param[3]=0x000000000e000528, param[4]=0x0000000000010001 Entry (type=0x5c, user=0x22), param[1]=0x0000000000000000, param[2]=0x0000000005000dbc, param[3]=0x0000000000000000, param[4]=0x00000000d002110d, param[5]=0x0000010001d30298, param[6]=0x0000000000000000 Entry (type=0x5c, user=0x22), param[1]=0x0000000000000000, param[2]=0x0000000005000dbc, param[3]=0x0000000000000000, param[4]=0x00000000d002dead, param[5]=0x0000010001d30298, param[6]=0x0000000000000000 Entry (type=0x5c, user=0x7), param[1]=0x0000000000000000, param[2]=0x0000000001000076, param[3]=0x0000000014000c73, param[4]=0x0000000000010001 $