title: Monitor tty typing. name: ttyspy.stp keywords: io tty per-process monitoring description: The ttyspy.stp script uses tty_audit hooks to monitor recent typing activity on the system, printing a scrolling record of recent keystrokes, on a per-tty basis. test_support: stap -l 'kernel.function("tty_audit_add_data")' test_check: stap -gp4 ttyspy.stp test_installcheck: stap --skip-badvars -g ttyspy.stp -c "sleep 1"