From 3963c62757e752712592ebda63137cc7c6be532d Mon Sep 17 00:00:00 2001 From: William Cohen Date: Tue, 2 Feb 2010 14:53:20 -0500 Subject: [PATCH] Add nfs_func_log example. --- testsuite/systemtap.examples/index.html | 3 +++ testsuite/systemtap.examples/index.txt | 9 +++++++++ testsuite/systemtap.examples/keyword-index.html | 3 +++ testsuite/systemtap.examples/keyword-index.txt | 9 +++++++++ 4 files changed, 24 insertions(+) diff --git a/testsuite/systemtap.examples/index.html b/testsuite/systemtap.examples/index.html index f7190eabd..eaf211357 100644 --- a/testsuite/systemtap.examples/index.html +++ b/testsuite/systemtap.examples/index.html @@ -91,6 +91,9 @@ keywords: IO
  • 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/nfs_func_log.stp - Print Log of NFS Functions Used
    +keywords: IO
    +

    The nfs_func_log.stp script logs the uses of NFS functions in the kernel. The output is a trace. Each line contains the time stamp, the process name, and the process number followed by the function name.

  • io/nfs_func_users.stp - Tally the Number of NFS Functions Used by Each Process
    keywords: IO PROFILING

    The nfs_func_users.stp script counts the uses of NFS functions in the kernel on a per process bases. The output is sorted from the process with the greatest number of NFS functions called to the least. The output contains the executable name, the process number, and the total number of NFS functions called by the process.

  • diff --git a/testsuite/systemtap.examples/index.txt b/testsuite/systemtap.examples/index.txt index 68741ffde..9a3637ae1 100644 --- a/testsuite/systemtap.examples/index.txt +++ b/testsuite/systemtap.examples/index.txt @@ -156,6 +156,15 @@ keywords: io monitoring first few sectors of a raw block device. +io/nfs_func_log.stp - Print Log of NFS Functions Used +keywords: io + + The nfs_func_log.stp script logs the uses of NFS functions in the + kernel. The output is a trace. Each line contains the time stamp, + the process name, and the process number followed by the function + name. + + io/nfs_func_users.stp - Tally the Number of NFS Functions Used by Each Process keywords: io profiling diff --git a/testsuite/systemtap.examples/keyword-index.html b/testsuite/systemtap.examples/keyword-index.html index b49f48c3b..ef1a801fe 100644 --- a/testsuite/systemtap.examples/keyword-index.html +++ b/testsuite/systemtap.examples/keyword-index.html @@ -183,6 +183,9 @@ keywords: IO
  • 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/nfs_func_log.stp - Print Log of NFS Functions Used
    +keywords: IO
    +

    The nfs_func_log.stp script logs the uses of NFS functions in the kernel. The output is a trace. Each line contains the time stamp, the process name, and the process number followed by the function name.

  • io/nfs_func_users.stp - Tally the Number of NFS Functions Used by Each Process
    keywords: IO PROFILING

    The nfs_func_users.stp script counts the uses of NFS functions in the kernel on a per process bases. The output is sorted from the process with the greatest number of NFS functions called to the least. The output contains the executable name, the process number, and the total number of NFS functions called by the process.

  • diff --git a/testsuite/systemtap.examples/keyword-index.txt b/testsuite/systemtap.examples/keyword-index.txt index 92370c838..0f1c58850 100644 --- a/testsuite/systemtap.examples/keyword-index.txt +++ b/testsuite/systemtap.examples/keyword-index.txt @@ -311,6 +311,15 @@ keywords: io monitoring first few sectors of a raw block device. +io/nfs_func_log.stp - Print Log of NFS Functions Used +keywords: io + + The nfs_func_log.stp script logs the uses of NFS functions in the + kernel. The output is a trace. Each line contains the time stamp, + the process name, and the process number followed by the function + name. + + io/nfs_func_users.stp - Tally the Number of NFS Functions Used by Each Process keywords: io profiling -- 2.43.5