Skip to content

Instantly share code, notes, and snippets.

@jbradley89
Last active February 7, 2017 04:20
Short System Tap script to watch processes making UDP calls
#! /usr/bin/env stap
probe udp.sendmsg{
printf("%15s %15s %15s %5d %5d %15s UDP\n", ctime(gettimeofday_s()), saddr, daddr, sport, dport, execname())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment