![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/memory/ |
title: Count Page Cache Hits and Misses name: cachestat.stp version: 1.0 author: David Valin and Serhei Makarov keywords: memory bpf subsystem: memory status: experimental exit: user-controlled output: timed on-exit scope: system-wide description: Monitors hits and misses to the page cache and reports a count every 5 seconds. Based on a bpftrace tool by David Valin. test_check: stap -p4 cachestat.stp test_installcheck: stap cachestat.stp -T 1 test_check_bpf: stap --bpf -p4 cachestat.stp test_installcheck_bpf: stap --bpf cachestat.stp -T 1