FreeBSD
上安装DTrace Toolkit
可以使用下面两种方式:
(1)
cd /usr/ports/sysutils/DTraceToolkit/ && make install clean
(2)
pkg install dtrace-toolkit
DTrace Toolkit
会被安装在/usr/local/share
目录下:
# ls -lt /usr/local/share/dtrace-toolkit/
total 292
drwxr-xr-x 2 root wheel 512 Jun 2 16:59 Zones
drwxr-xr-x 2 root wheel 512 Jun 2 16:59 User
drwxr-xr-x 2 root wheel 1024 Jun 2 16:59 Tcl
......
参考资料:
DTraceToolkit Collection of useful scripts for DTrace。