| 1 |
title: Monitor TTY Typing |
| 2 |
name: ttyspy.stp |
| 3 |
version: 1.0 |
| 4 |
author: anonymous |
| 5 |
keywords: io tty monitoring guru |
| 6 |
subsystem: io |
| 7 |
status: proposed |
| 8 |
exit: user-controlled |
| 9 |
output: trace |
| 10 |
scope: system-wide |
| 11 |
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. |
| 12 |
test_support: stap -l 'kernel.function("tty_audit_add_data")' |
| 13 |
test_check: stap -gp4 ttyspy.stp |
| 14 |
test_installcheck: stap --skip-badvars -g ttyspy.stp -T 1 |