| 1 |
title: Monitoring Attribute Changes to a File |
| 2 |
name: inodewatch2.stp |
| 3 |
version: 1.0 |
| 4 |
author: anonymous |
| 5 |
keywords: io |
| 6 |
subsystem: io |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: trace |
| 10 |
scope: system-wide |
| 11 |
description: The inodewatch2.stp script outputs the executable name, process id, and attributes each time the attributes are changed on the specified inode on the specified major/minor device. |
| 12 |
test_check: stap -p4 inodewatch2.stp 0x08 0x01 100 |
| 13 |
test_installcheck: stap inodewatch2.stp 0x08 0x01 100 -T 1 |