Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
12345678910111213141516171819202122232425#!/bin/bash# description: syscall top# args: [comm] [interval]n_args=0for i in "$@"do if expr match "$i" "-" > /dev/null ; then break fi n_args=$(( $n_args + 1 ))doneif [ "$n_args" -gt 2 ] ; then echo "usage: sctop-report [comm] [interval]" exitfiif [ "$n_args" -gt 1 ] ; then comm=$1 interval=$2 shift 2elif [ "$n_args" -gt 0 ] ; then interval=$1 shiftfiperf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval