HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //usr/share/systemtap/examples/general/regex.meta
title: Report opened files whose names match a given regex
name: regex.stp
keywords: regex
subsystem: any
status: experimental
exit: user-controlled
output: trace
scope: system-wide
description: Uses the regex functionality to detect opened files whose names match a pattern given on the command line. If no command line parameter is given, demonstrate by filtering for files that end with an extension showing them to be an archive.
test_check: stap -p4 regex.stp
test_installcheck: stap regex.stp -T 1