Created
February 20, 2017 03:04
-
-
Save jbradley89/f5abce55ecc3d7cbbae16531ad4e4f92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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