From 1beb508976ba5a79758ffe6e174f47a64225f449 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 8 Oct 2009 17:23:42 -0400 Subject: examples: regen indexes --- testsuite/systemtap.examples/index.html | 3 +++ testsuite/systemtap.examples/index.txt | 7 +++++++ testsuite/systemtap.examples/io/mbrwatch.stp | 2 +- testsuite/systemtap.examples/keyword-index.html | 11 ++++++++++- testsuite/systemtap.examples/keyword-index.txt | 16 ++++++++++++++++ 5 files changed, 37 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.examples') diff --git a/testsuite/systemtap.examples/index.html b/testsuite/systemtap.examples/index.html index b0d70509..f2b7066f 100644 --- a/testsuite/systemtap.examples/index.html +++ b/testsuite/systemtap.examples/index.html @@ -82,6 +82,9 @@ keywords: SYSCALL io/iotop.stp - Periodically Print I/O Activity by Process Name
keywords: IO

Every five seconds print out the top ten executables generating I/O traffic during that interval sorted in descending order.

+
  • io/mbrwatch.stp - Monitor read/write of MBR (boot sector) area of block devices
    +keywords: IO MONITORING
    +

    The mbrwatch.stp script reports any attempted reads/writes of the first few sectors of a raw block device.

  • io/traceio.stp - Track Cumulative I/O Activity by Process Name
    keywords: IO

    Every second print out the top ten executables sorted in descending order based on cumulative I/O traffic observed.

  • diff --git a/testsuite/systemtap.examples/index.txt b/testsuite/systemtap.examples/index.txt index 29ca3c7d..e880c746 100644 --- a/testsuite/systemtap.examples/index.txt +++ b/testsuite/systemtap.examples/index.txt @@ -130,6 +130,13 @@ keywords: io traffic during that interval sorted in descending order. +io/mbrwatch.stp - Monitor read/write of MBR (boot sector) area of block devices +keywords: io monitoring + + The mbrwatch.stp script reports any attempted reads/writes of the + first few sectors of a raw block device. + + io/traceio.stp - Track Cumulative I/O Activity by Process Name keywords: io diff --git a/testsuite/systemtap.examples/io/mbrwatch.stp b/testsuite/systemtap.examples/io/mbrwatch.stp index 9d621619..f981073e 100755 --- a/testsuite/systemtap.examples/io/mbrwatch.stp +++ b/testsuite/systemtap.examples/io/mbrwatch.stp @@ -4,6 +4,6 @@ probe ioblock.request { if (bdev==bdev_contains && sector<4) { printf("device %s sector %d %s, process %s[%d]\n", devname, sector, (rw==BIO_READ ? "read":"write"), execname(), pid()) - print_backtrace() + print_backtrace() } } diff --git a/testsuite/systemtap.examples/keyword-index.html b/testsuite/systemtap.examples/keyword-index.html index f66269a2..f09a20b3 100644 --- a/testsuite/systemtap.examples/keyword-index.html +++ b/testsuite/systemtap.examples/keyword-index.html @@ -39,7 +39,7 @@

    Examples by Keyword

    -

    AUTOFS BACKTRACE BUFFER CALLGRAPH CPU DEVICE DISK FILESYSTEM FORMAT FREE FUNCTIONS FUTEX GRAPH HACK INTERRUPT IO LOCKING MEMORY MONITOR NETWORK NFS NUMA PER-PROCESS PROCESS PROFILING READ SCHEDULER SCSI SIGNALS SIMPLE SLEEP SOCKET STATISTICS SYSCALL TCP TIME TRACE TRACEPOINT TRAFFIC TTY USE WAIT4 WRITE

    +

    AUTOFS BACKTRACE BUFFER CALLGRAPH CPU DEVICE DISK FILESYSTEM FORMAT FREE FUNCTIONS FUTEX GRAPH HACK INTERRUPT IO LOCKING MEMORY MONITOR MONITORING NETWORK NFS NUMA PER-PROCESS PROCESS PROFILING READ SCHEDULER SCSI SIGNALS SIMPLE SLEEP SOCKET STATISTICS SYSCALL TCP TIME TRACE TRACEPOINT TRAFFIC TTY USE WAIT4 WRITE

    AUTOFS

    +

    MONITORING

    +

    NETWORK