summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io/ttyspy.meta
blob: b171fad41ac60f340e49e71e4cb2c15c9a7e98b5 (plain)
1
2
3
4
5
6
7
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"