Server IP : 184.154.167.98 / Your IP : 18.118.166.45 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/bin/ |
Upload File : |
#!/bin/sh # Copyright (c) 2005 Silicon Graphics, Inc. # All rights reserved. # # Nathan Scott <nathans@sgi.com> # 14 Sep 2005 Initial version # TRACEOPTS="" PARSEOPTS="-b100000" USAGE="Usage: btrace [-s] [-t] [-w N] [-n N] [-b N] [-a <trace>...] [-r <dbg mnt>] <dev>..." DIRNAME=`dirname $0` while getopts "a:w:n:b:r:sthv" c do case $c in a) TRACEOPTS=$TRACEOPTS" -a "$OPTARG" ";; w) TRACEOPTS=$TRACEOPTS" -w "$OPTARG" ";; n) TRACEOPTS=$TRACEOPTS" -n "$OPTARG" ";; b) TRACEOPTS=$TRACEOPTS" -b "$OPTARG" ";; r) TRACEOPTS=$TRACEOPTS" -r "$OPTARG" ";; s) PARSEOPTS=$PARSEOPTS" -s";; t) PARSEOPTS=$PARSEOPTS" -t";; h) PARSEOPTS=$PARSEOPTS" -h";; v) PARSEOPTS=$PARSEOPTS" -v";; \?) echo $USAGE 1>&2 exit 2 ;; esac done shift `expr $OPTIND - 1` if [ $# -eq 0 ]; then echo $USAGE 1>&2 exit 2 fi ${DIRNAME}/blktrace ${TRACEOPTS} -o- $@ | ${DIRNAME}/blkparse ${PARSEOPTS} -i-