I am willing to log keystrokes from a list of processes that I wish to. There 
is a script shellsnoop.d (at brenden's blog and in DTrace Toolkit), which 
captures all key strokes within the shell. But, it works because the arg0 of 
write/read syscalls is either 0,1 or 2 for the shell/terminal. For other 
processes, it varies and it isn't 0,1 or 2.

Please suggest me a way to either extend the shellsnoop, or to use different 
providers/probes to log keystrokes only (not all events e.g. mouse clicks). 
Thanks.


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to