DTrace
可以通过-x
指定编译或运行时的选项。以下列命令为例:
# dtrace -n 'syscall::write:entry /pid == $target/ { printf("Written %d bytes\n", arg2); }' -c "dd if=/dev/zero[......]
DTrace
可以通过-x
指定编译或运行时的选项。以下列命令为例:
# dtrace -n 'syscall::write:entry /pid == $target/ { printf("Written %d bytes\n", arg2); }' -c "dd if=/dev/zero[......]