1Contents - Command Summary
2
3   The following is a list of commands found in the DTraceToolkit, along
4   with their directory location.
5
6Generally commands that end in a ".d" are DTrace scripts, and commands
7that don't are DTrace scripts wrapped in another language (eg, shell
8or Perl). See the Docs/Readme for instructions for finding their docs.
9
10DTraceToolkit/
11   dexplorer		run a series of scripts and archive output
12   dtruss		process syscall info. DTrace truss
13   dvmstat		vmstat by PID/name/command
14   errinfo		report syscall failures with details
15   execsnoop		snoop process execution as it occurs
16   iosnoop		snoop I/O events as they occur
17   iopattern		print disk I/O pattern
18   iotop		display top disk I/O events by process
19   opensnoop		snoop file opens as they occur
20   procsystime		analyse process system call times
21   rwsnoop		snoop read/write events
22   rwtop		display top read/write bytes by process
23   statsnoop		snoop file stats as they occur
24   Apps/
25	httpdstat.d	realtime httpd statistics
26	nfswizard.d	NFS client activity wizard
27	shellsnoop	snoop live shell activity
28	weblatency.d	website latency statistics
29   Cpu/
30	cputypes.d	list CPU types
31	cpuwalk.d	measure which CPUs a process runs on
32	dispqlen.d	dispatcher queue length by CPU
33	intbycpu.d	interrupts by CPU
34	intoncpu.d	interrput on-cpu usage
35	inttimes.d	interrput on-cpu time total
36	loads.d		print load averages
37	runocc.d	run queue occupancy by CPU
38	xcallsbypid.d	CPU cross calls by PID
39   Disk/
40	bitesize.d	print disk event size report
41	diskhits	disk access by file offset
42	hotspot.d	print disk event by location
43	iofile.d	I/O wait time by filename and process
44	iofileb.d	I/O bytes by filename and process
45	iopending	plot number of pending disk events
46	pathopens.d	pathnames successfully opened count
47	seeksize.d	print disk seek size report
48   Docs/
49	oneliners.txt	DTrace oneliners
50   FS/
51	fsrw.d		file system read/write event tracing
52	fspaging.d	file system read/write and paging tracing
53	rfsio.d		read FS I/O stats, with cache miss rate
54	rfileio.d	read file I/O stats, with cache miss rate
55	vopstat		vnode interface statistics
56   Java/
57	j_*.d		18 scripts for tracing Java using the hotspot provider
58   JavaScript/
59	js_*.d		14 scripts for JavaScript with the Mozilla provider
60   Kernel/
61	cputimes	print time by Kernel/Idle/Process
62	cpudists	time distribution by Kernel/Idle/Process
63	cswstat.d	context switch time statistics
64	dnlcps.d	DNLC stats by process
65	dnlcsnoop.d	snoop DNLC activity
66	dnlcstat	DNLC statistics
67	kstat_types.d	trace kstat reads with type info
68	modcalls.d	kernel function calls by module name
69	priclass.d	priority distribution by scheduling class
70	pridist.d	process priority distribution
71	putnexts.d	trace who is putting to which streams module
72	whatexec.d	examine the type of files executed
73   Locks/
74	lockbyproc.d	lock time by process name
75	lockbydist.d	lock time distribution by process name
76   Mem/
77	anonpgpid.d	anonymous memory paging info by PID on CPU
78	minfbypid.d	minor faults by PID
79	minfbyproc.d	minor faults by process name
80	pgpginbypid.d	pages paged in by PID
81	pgpginbyproc.d	pages paged in by process name
82	swapinfo.d	print virtual memory info
83	vmbypid.d	virtual memory stats by PID
84	vmstat.d	vmstat demo using DTrace
85	vmstat-p.d	vmstat -p demo using DTrace
86	xvmstat		extended vmstat demo using DTrace
87   Misc/
88	guess.d		guessing game
89	wpm.d		words per minute tracing
90	woof.d		audio alert for new processes
91   Net/
92	connections	print inbound TCP connections by process
93	icmpstat.d	print ICMP statistics
94	tcpsnoop	snoop TCP network packets by process, Solaris 10 3/05
95	tcpsnoop_snv	snoop TCP network packets by process, Solaris Nevada
96	tcpsnoop.d	snoop TCP network packets by process, Solaris 10 3/05
97	tcpsnoop_snv.d	snoop TCP network packets by process, Solaris Nevada
98	tcpstat.d	print TCP statistics
99	tcptop		display top TCP network packets by PID, Solaris 10 3/05
100	tcptop_snv	display top TCP network packets by PID, Solaris Nevada
101	tcpwdist.d	simple TCP write distribution by process
102	udpstat.d	print UDP statistics
103   Perl/
104	pl_*.d		12 scripts for tracing Perl
105   Php/
106	php_*.d		12 scripts for tracing Php
107   Proc/
108	crash.d		crashed application report
109	creatbyproc.d	snoop file creat() by process name
110	dappprof	profile user and lib function usage
111	dapptrace	trace user and lib function usage
112	fddist		file descriptor usage distribution
113	fileproc.d	snoop files opened by process
114	kill.d		snoop process signals
115	lastwords	print syscalls before exit
116	mmapfiles.d	mmap'd files by process
117	newproc.d	snoop new processes
118	pfilestat	show I/O latency break down by FD
119	pidpersec.d	print new PIDs per sec
120	readbytes.d	read bytes by process name
121	readdist.d	read distribution by process name
122	rwbbypid.d	read/write bytes by PID
123	rwbypid.d	read/write calls by PID
124	rwbytype.d	read/write bytes by vnode type
125	sampleproc	sample processes on the CPUs
126	shortlived.d	check short lived process time
127	sigdist.d	signal distribution by process name
128	stacksize.d	measure stack size for running threads
129	sysbypid.d	system stats by PID
130	syscallbyproc.d	system calls by process name
131	syscallbypid.d	system calls by process ID
132	threaded.d	sample multi-threaded CPU usage
133	topsysproc	display top syscalls by process name
134	writebytes.d	write bytes by process name
135	writedist.d	write distribution by process name
136   Python/
137	py_*.d		14 scripts for tracing Python
138   Shell/
139	sh_*.d		15 scripts for tracing the Bourne shell
140   System/
141	sar-c.d		sar -c demo using DTrace
142	syscallbysysc.d	system calls by system call
143	topsyscall	display top system call type
144	uname-a.d	uname -a demo using DTrace
145   Tcl/
146	tcl_*.d		15 scripts for tracing Tcl
147   User/
148	setuids.d	snoop setuid calls
149   Zones/
150	zvmstat		vmstat info by zone
151
152Total: 230 scripts
153