Skip to content

Instantly share code, notes, and snippets.

@jbradley89
Created February 20, 2017 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbradley89/f5abce55ecc3d7cbbae16531ad4e4f92 to your computer and use it in GitHub Desktop.
Save jbradley89/f5abce55ecc3d7cbbae16531ad4e4f92 to your computer and use it in GitHub Desktop.
probe begin
{
println("Tracking spawned TTYs...");
}
probe tty.init
{
printf("%15s %5d %15s %5d \n", ctime(gettimeofday_s()), uid(), execname(), pid());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment