summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io/iodevstats.meta
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2010-02-02 14:19:02 -0500
committerWilliam Cohen <wcohen@redhat.com>2010-02-02 14:19:02 -0500
commita4f3198f0b774528ef17dfb1ce5b3e70b6eb82fb (patch)
tree18a51685b92228af017a00232c81a939f4682154 /testsuite/systemtap.examples/io/iodevstats.meta
parent743757687f9c09bf9ef84b576bc0aa0fc19dea4c (diff)
downloadsystemtap-steved-a4f3198f0b774528ef17dfb1ce5b3e70b6eb82fb.tar.gz
systemtap-steved-a4f3198f0b774528ef17dfb1ce5b3e70b6eb82fb.tar.xz
systemtap-steved-a4f3198f0b774528ef17dfb1ce5b3e70b6eb82fb.zip
Add iodevstats.stp example
Diffstat (limited to 'testsuite/systemtap.examples/io/iodevstats.meta')
-rw-r--r--testsuite/systemtap.examples/io/iodevstats.meta13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/io/iodevstats.meta b/testsuite/systemtap.examples/io/iodevstats.meta
new file mode 100644
index 00000000..89277d2f
--- /dev/null
+++ b/testsuite/systemtap.examples/io/iodevstats.meta
@@ -0,0 +1,13 @@
+title: List Executables Reading and Writing the Most Data by Device
+name: iodevstats.stp
+version: 1.0
+author: anonymous
+keywords: io profiling
+subsystem: io
+status: production
+exit: user-controlled
+output: sorted-list
+scope: system-wide
+description: The iodevstats.stp script measures the amount of data successfully read and written by all the executables for each io device on the system. The output is sorted from greatest sum of bytes read and written to a device by an executable to the least. The output contains device major/minor number, the count of operations (reads and writes), the totals and averages for the number of bytes read and written.
+test_check: stap -p4 iodevstats.stp
+test_installcheck: stap iodevstats.stp -c "sleep 0.2"