Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 8e87fca2f49595adc16d9aa519a6edad > files > 56

systemtap-1.6-1.fc14.x86_64.rpm

title: Monitoring Reads and Writes to a File
name: inodewatch.stp
version: 1.0
author: anonymous
keywords: io
subsystem: io
status: production
exit: user-controlled
output: trace
scope: system-wide
description:  The inodewatch.stp outputs the executable name and process id each time a read or write occurs to the specified inode on the specified major/minor device.
test_check: stap -p4 inodewatch.stp 0x08 0x01 100
test_installcheck: stap inodewatch.stp 0x08 0x01 100 -c "sleep 0.2"