logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

btrace - perform live tracing for block devices

Authors

blkparse was written by Jens Axboe, Alan D. Brunelle and Nathan Scott.  This man page  was  created  from
       the blktrace documentation by Bas Zoetekouw.

Description

       The  btrace  script provides a quick and easy way to do live tracing of block devices.  It calls blktrace
       on the specified devices and pipes the output through blkparse for formatting.  See blktrace (8) for more
       in-depth information about how blktrace works.

Example

       Simply running

           % btrace /dev/sda

       will show a trace of the device /dev/sda.

Name

       btrace - perform live tracing for block devices

Options

-s Displays data sorted by program (see blkparse (1)).

       -t Displays time deltas per IO (see blkparse (1)).

       -wN Sets run time to the number of seconds specified (see blktrace (8)).

       -nN Specifies the number of buffers to use (see blktrace (8)).

       -bN Specifies buffer size for event extraction (scaled by 1024) (see blktrace (8)).

       -r<dbgmnt> Specifies the debugfs mountpoint.

       -a<trace>...  Adds mask to current filter (see blktrace (8)).

       <dev> Specifies the device to trace.

Reporting Bugs

       Report bugs to <linux-btrace@vger.kernel.org>

See Also

       blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify (1), btt (1)

blktrace git-20070306202522                      March  6, 2007                                        BTRACE(8)

Synopsis

btrace[-s][-t][-wN][-nN] [-b N] [-r <dbgmnt>] [-a <trace>...] <dev>...

See Also