BSDCan2018 - 1.54

BSDCan 2018
The Technical BSD Conference

Devin Teske
Day Talks #1 - 8 June - 2018-06-08
Room DMS 1120
Start time 11:15
Duration 01:00
ID 952
Event type Lecture
Track Invited Talks
Language used for presentation English

All along the dwatch tower

A DTrace tool for the masses

I would like to present a new utility called dwatch that I added to FreeBSD 12.0-CURRENT.

Using dwatch, in this talk you will learn how to:

  • Watch processes entering system CPU scheduler
  • Print arguments being passed to functions
  • Easily watch multiple probes simultaneously
  • Globally watch all function traversal from every process/thread
  • Filter output by user or group, including the ability to use regex
  • Watch jail activity
  • Use patterns or regular expressions to match on executable name(s), pid, etc.
  • Look for a particular path being created, removed, accessed, etc.
  • Watch interprocess communication signaling
  • Log network data events
  • Schedule timed samplings for events of interest
  • Dump process trees for processes triggering a probe
  • Watch child processes
  • Show commands being executed in realtime
  • Write modules to centralize logic into easy-to-access profiles
  • Share modules with each other and help your community
  • More...

With dwatch, using DTrace has never been so fun and painless.