1N/AContents - Command Summary
1N/A
1N/A The following is a list of commands found in the DTraceToolkit, along
1N/A with their directory location.
1N/A
1N/AGenerally commands that end in a ".d" are DTrace scripts, and commands
1N/Athat don't are DTrace scripts wrapped in another language (eg, shell
1N/Aor Perl). See the Docs/Readme for instructions for finding their docs.
1N/A
1N/ADTraceToolkit/
1N/A dexplorer run a series of scripts and archive output
1N/A dtruss process syscall info. DTrace truss
1N/A dvmstat vmstat by PID/name/command
1N/A errinfo report syscall failures with details
1N/A execsnoop snoop process execution as it occurs
1N/A iosnoop snoop I/O events as they occur
1N/A iopattern print disk I/O pattern
1N/A iotop display top disk I/O events by process
1N/A opensnoop snoop file opens as they occur
1N/A procsystime analyse process system call times
1N/A rwsnoop snoop read/write events
1N/A rwtop display top read/write bytes by process
1N/A statsnoop snoop file stats as they occur
1N/A Apps/
1N/A httpdstat.d realtime httpd statistics
1N/A nfswizard.d NFS client activity wizard
1N/A shellsnoop snoop live shell activity
1N/A weblatency.d website latency statistics
1N/A Cpu/
1N/A cputypes.d list CPU types
1N/A cpuwalk.d measure which CPUs a process runs on
1N/A dispqlen.d dispatcher queue length by CPU
1N/A intbycpu.d interrupts by CPU
1N/A intoncpu.d interrput on-cpu usage
1N/A inttimes.d interrput on-cpu time total
1N/A loads.d print load averages
1N/A runocc.d run queue occupancy by CPU
1N/A xcallsbypid.d CPU cross calls by PID
1N/A Disk/
1N/A bitesize.d print disk event size report
1N/A diskhits disk access by file offset
1N/A hotspot.d print disk event by location
1N/A iofile.d I/O wait time by filename and process
1N/A iofileb.d I/O bytes by filename and process
1N/A iopending plot number of pending disk events
1N/A pathopens.d pathnames successfully opened count
1N/A seeksize.d print disk seek size report
1N/A Docs/
1N/A oneliners.txt DTrace oneliners
1N/A FS/
1N/A fsrw.d file system read/write event tracing
1N/A fspaging.d file system read/write and paging tracing
1N/A rfsio.d read FS I/O stats, with cache miss rate
1N/A rfileio.d read file I/O stats, with cache miss rate
1N/A vopstat vnode interface statistics
1N/A Java/
1N/A j_*.d 18 scripts for tracing Java using the hotspot provider
1N/A JavaScript/
1N/A js_*.d 14 scripts for JavaScript with the Mozilla provider
1N/A Kernel/
1N/A cputimes print time by Kernel/Idle/Process
1N/A cpudists time distribution by Kernel/Idle/Process
1N/A cswstat.d context switch time statistics
1N/A dnlcps.d DNLC stats by process
1N/A dnlcsnoop.d snoop DNLC activity
1N/A dnlcstat DNLC statistics
1N/A kstat_types.d trace kstat reads with type info
1N/A modcalls.d kernel function calls by module name
1N/A priclass.d priority distribution by scheduling class
1N/A pridist.d process priority distribution
1N/A putnexts.d trace who is putting to which streams module
1N/A whatexec.d examine the type of files executed
1N/A Locks/
1N/A lockbyproc.d lock time by process name
1N/A lockbydist.d lock time distribution by process name
1N/A Mem/
1N/A anonpgpid.d anonymous memory paging info by PID on CPU
1N/A minfbypid.d minor faults by PID
1N/A minfbyproc.d minor faults by process name
1N/A pgpginbypid.d pages paged in by PID
1N/A pgpginbyproc.d pages paged in by process name
1N/A swapinfo.d print virtual memory info
1N/A vmbypid.d virtual memory stats by PID
1N/A vmstat.d vmstat demo using DTrace
1N/A vmstat-p.d vmstat -p demo using DTrace
1N/A xvmstat extended vmstat demo using DTrace
1N/A Misc/
1N/A guess.d guessing game
1N/A wpm.d words per minute tracing
1N/A woof.d audio alert for new processes
1N/A Net/
1N/A connections print inbound TCP connections by process
1N/A icmpstat.d print ICMP statistics
1N/A tcpsnoop snoop TCP network packets by process, Solaris 10 3/05
1N/A tcpsnoop_snv snoop TCP network packets by process, Solaris Nevada
1N/A tcpsnoop.d snoop TCP network packets by process, Solaris 10 3/05
1N/A tcpsnoop_snv.d snoop TCP network packets by process, Solaris Nevada
1N/A tcpstat.d print TCP statistics
1N/A tcptop display top TCP network packets by PID, Solaris 10 3/05
1N/A tcptop_snv display top TCP network packets by PID, Solaris Nevada
1N/A tcpwdist.d simple TCP write distribution by process
1N/A udpstat.d print UDP statistics
1N/A Perl/
1N/A pl_*.d 12 scripts for tracing Perl
1N/A Php/
1N/A php_*.d 12 scripts for tracing Php
1N/A Proc/
1N/A crash.d crashed application report
1N/A creatbyproc.d snoop file creat() by process name
1N/A dappprof profile user and lib function usage
1N/A dapptrace trace user and lib function usage
1N/A fddist file descriptor usage distribution
1N/A fileproc.d snoop files opened by process
1N/A kill.d snoop process signals
1N/A lastwords print syscalls before exit
1N/A mmapfiles.d mmap'd files by process
1N/A newproc.d snoop new processes
1N/A pfilestat show I/O latency break down by FD
1N/A pidpersec.d print new PIDs per sec
1N/A readbytes.d read bytes by process name
1N/A readdist.d read distribution by process name
1N/A rwbbypid.d read/write bytes by PID
1N/A rwbypid.d read/write calls by PID
1N/A rwbytype.d read/write bytes by vnode type
1N/A sampleproc sample processes on the CPUs
1N/A shortlived.d check short lived process time
1N/A sigdist.d signal distribution by process name
1N/A stacksize.d measure stack size for running threads
1N/A sysbypid.d system stats by PID
1N/A syscallbyproc.d system calls by process name
1N/A syscallbypid.d system calls by process ID
1N/A threaded.d sample multi-threaded CPU usage
1N/A topsysproc display top syscalls by process name
1N/A writebytes.d write bytes by process name
1N/A writedist.d write distribution by process name
1N/A Python/
1N/A py_*.d 14 scripts for tracing Python
1N/A Shell/
1N/A sh_*.d 15 scripts for tracing the Bourne shell
1N/A System/
1N/A sar-c.d sar -c demo using DTrace
1N/A syscallbysysc.d system calls by system call
1N/A topsyscall display top system call type
1N/A uname-a.d uname -a demo using DTrace
1N/A Tcl/
1N/A tcl_*.d 15 scripts for tracing Tcl
1N/A User/
1N/A setuids.d snoop setuid calls
1N/A Zones/
1N/A zvmstat vmstat info by zone
1N/A
1N/ATotal: 230 scripts