summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/process/syscalls_by_pid.meta
blob: 590652b3ff8fc9e5b3b2cd80cb5c7f82e07e0760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
title: System-Wide Count of Syscalls by PID
name: syscalls_by_pid.stp
version: 1.0
author: anonymous
keywords: syscall
subsystem: syscall
status: production
exit: user-controlled
output: sorted-list on-exit
scope: system-wide
description: The script watches all syscall on the system. On exit the script prints a list showing the number of systemcalls executed by each PID ordered from greatest to least number of syscalls.
test_check: stap -p4 syscalls_by_pid.stp
test_installcheck: stap syscalls_by_pid.stp -c "sleep 1"