summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2010-02-02 14:53:20 -0500
committerWilliam Cohen <wcohen@redhat.com>2010-02-02 14:53:20 -0500
commit3963c62757e752712592ebda63137cc7c6be532d (patch)
tree36af12946f7dbee2eac4cc3c4a4078ba085e41bf
parent111dd9ac1d5e127b80c89be484be37ea326b449d (diff)
downloadsystemtap-steved-3963c62757e752712592ebda63137cc7c6be532d.tar.gz
systemtap-steved-3963c62757e752712592ebda63137cc7c6be532d.tar.xz
systemtap-steved-3963c62757e752712592ebda63137cc7c6be532d.zip
Add nfs_func_log example.
-rw-r--r--testsuite/systemtap.examples/index.html3
-rw-r--r--testsuite/systemtap.examples/index.txt9
-rw-r--r--testsuite/systemtap.examples/keyword-index.html3
-rw-r--r--testsuite/systemtap.examples/keyword-index.txt9
4 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/index.html b/testsuite/systemtap.examples/index.html
index f7190eab..eaf21135 100644
--- a/testsuite/systemtap.examples/index.html
+++ b/testsuite/systemtap.examples/index.html
@@ -91,6 +91,9 @@ keywords: <a href="keyword-index.html#IO">IO</a> <br>
<li><a href="io/mbrwatch.stp">io/mbrwatch.stp</a> - Monitor read/write of MBR (boot sector) area of block devices<br>
keywords: <a href="keyword-index.html#IO">IO</a> <a href="keyword-index.html#MONITORING">MONITORING</a> <br>
<p> The mbrwatch.stp script reports any attempted reads/writes of the first few sectors of a raw block device.</p></li>
+<li><a href="io/nfs_func_log.stp">io/nfs_func_log.stp</a> - Print Log of NFS Functions Used<br>
+keywords: <a href="keyword-index.html#IO">IO</a> <br>
+<p>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.</p></li>
<li><a href="io/nfs_func_users.stp">io/nfs_func_users.stp</a> - Tally the Number of NFS Functions Used by Each Process<br>
keywords: <a href="keyword-index.html#IO">IO</a> <a href="keyword-index.html#PROFILING">PROFILING</a> <br>
<p>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.</p></li>
diff --git a/testsuite/systemtap.examples/index.txt b/testsuite/systemtap.examples/index.txt
index 68741ffd..9a3637ae 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 b49f48c3..ef1a801f 100644
--- a/testsuite/systemtap.examples/keyword-index.html
+++ b/testsuite/systemtap.examples/keyword-index.html
@@ -183,6 +183,9 @@ keywords: <a href="keyword-index.html#IO">IO</a> <br>
<li><a href="io/mbrwatch.stp">io/mbrwatch.stp</a> - Monitor read/write of MBR (boot sector) area of block devices<br>
keywords: <a href="keyword-index.html#IO">IO</a> <a href="keyword-index.html#MONITORING">MONITORING</a> <br>
<p> The mbrwatch.stp script reports any attempted reads/writes of the first few sectors of a raw block device.</p></li>
+<li><a href="io/nfs_func_log.stp">io/nfs_func_log.stp</a> - Print Log of NFS Functions Used<br>
+keywords: <a href="keyword-index.html#IO">IO</a> <br>
+<p>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.</p></li>
<li><a href="io/nfs_func_users.stp">io/nfs_func_users.stp</a> - Tally the Number of NFS Functions Used by Each Process<br>
keywords: <a href="keyword-index.html#IO">IO</a> <a href="keyword-index.html#PROFILING">PROFILING</a> <br>
<p>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.</p></li>
diff --git a/testsuite/systemtap.examples/keyword-index.txt b/testsuite/systemtap.examples/keyword-index.txt
index 92370c83..0f1c5885 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