Debian Codegraph @

EXAMPLES/memory/swapmonitor.meta

raw
1 title: Summarize swap operations
2 name: swapmonitor.stp
3 keywords: memory swap
4 description: The swapmonitor.stp script is an example to monitor "swap in/out" in RHEL. This stap monitor the call of "swap_readpage" and "swap_writepage", and then printf the timeframe, func, execname, pid and the count with 10 seconds interval.
5 test_check: stap -p4 swapmonitor.stp
6 test_installcheck: stap swapmonitor.stp -T 5