summaryrefslogtreecommitdiffstats
path: root/SystemTap_Beginners_Guide/iotimesect.html
diff options
Diffstat (limited to 'SystemTap_Beginners_Guide/iotimesect.html')
-rw-r--r--SystemTap_Beginners_Guide/iotimesect.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/SystemTap_Beginners_Guide/iotimesect.html b/SystemTap_Beginners_Guide/iotimesect.html
index f91ec81b..d44530de 100644
--- a/SystemTap_Beginners_Guide/iotimesect.html
+++ b/SystemTap_Beginners_Guide/iotimesect.html
@@ -1,6 +1,6 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title xmlns:d="http://docbook.org/ns/docbook">5.2.2. Tracking I/O Time For Each File Read or Write</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta xmlns:d="http://docbook.org/ns/docbook" name="generator" content="not publican" /><meta xmlns:d="http://docbook.org/ns/docbook" name="package" content="" /><link rel="home" href="index.html" title="SystemTap Beginners Guide" /><link rel="up" href="mainsect-disk.html" title="5.2. Disk" /><link rel="prev" href="mainsect-disk.html" title="5.2. Disk" /><link rel="next" href="traceiosect.html" title="5.2.3. Track Cumulative IO" /></head><body><p id="title"></p><ul class="docnav top"><li class="previous"><a accesskey="p" href="mainsect-disk.html"><strong>Prev</strong></a></li><li class="home">SystemTap Beginners Guide</li><li class="next"><a accesskey="n" href="traceiosect.html"><strong>Next</strong></a></li></ul><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="iotimesect"> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title xmlns:d="http://docbook.org/ns/docbook">5.2.2. Tracking I/O Time For Each File Read or Write</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta xmlns:d="http://docbook.org/ns/docbook" name="generator" content="not publican" /><meta xmlns:d="http://docbook.org/ns/docbook" name="package" content="" /><link rel="home" href="index.html" title="SystemTap Beginners Guide" /><link rel="up" href="mainsect-disk.html" title="5.2. Disk" /><link rel="prev" href="mainsect-disk.html" title="5.2. Disk" /><link rel="next" href="traceiosect.html" title="5.2.3. Track Cumulative IO" /></head><body><p id="title"></p><ul class="docnav top"><li class="previous"><a accesskey="p" href="mainsect-disk.html"><strong>Prev</strong></a></li><li class="home">SystemTap Beginners Guide</li><li class="next"><a accesskey="n" href="traceiosect.html"><strong>Next</strong></a></li></ul><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="iotimesect">
3 ⁠</a>5.2.2. Tracking I/O Time For Each File Read or Write</h3></div></div></div><a id="idp71893886976272" class="indexterm"></a><a id="idp71893882357456" class="indexterm"></a><a id="idp71893880875008" class="indexterm"></a><a id="idp71893878271056" class="indexterm"></a><a id="idp71893877187760" class="indexterm"></a><div class="para"> 3 ⁠</a>5.2.2. Tracking I/O Time For Each File Read or Write</h3></div></div></div><a id="idp70843093682336" class="indexterm"></a><a id="idp70843089055072" class="indexterm"></a><a id="idp70843095351312" class="indexterm"></a><a id="idp70843093587392" class="indexterm"></a><a id="idp70843086063536" class="indexterm"></a><div class="para">
4 This section describes how to monitor the amount of time it takes for each process to read 4 This section describes how to monitor the amount of time it takes for each process to read
5 from or write to any file. This is useful to determine what files are slow to 5 from or write to any file. This is useful to determine what files are slow to
6 load on a given system. 6 load on a given system.
@@ -111,7 +111,7 @@ probe syscall.close {
111 to a file. For each file any system call accesses, <a class="xref" href="iotimesect.html#iotime">iotime.stp</a> counts the number 111 to a file. For each file any system call accesses, <a class="xref" href="iotimesect.html#iotime">iotime.stp</a> counts the number
112 of microseconds it takes for any reads or writes to finish and tracks the amount of data (in 112 of microseconds it takes for any reads or writes to finish and tracks the amount of data (in
113 bytes) read from or written to the file. 113 bytes) read from or written to the file.
114</div><a id="idp71893883683120" class="indexterm"></a><a id="idp71893885212160" class="indexterm"></a><a id="idp71893879687248" class="indexterm"></a><div class="para"> 114</div><a id="idp70843094109296" class="indexterm"></a><a id="idp70843098657824" class="indexterm"></a><a id="idp70843098858816" class="indexterm"></a><div class="para">
115 <a class="xref" href="iotimesect.html#iotime">iotime.stp</a> also uses the local variable <code class="command">$count</code> to track the 115 <a class="xref" href="iotimesect.html#iotime">iotime.stp</a> also uses the local variable <code class="command">$count</code> to track the
116 amount of data (in bytes) that any system call <span class="emphasis"><em>attempts</em></span> to read or 116 amount of data (in bytes) that any system call <span class="emphasis"><em>attempts</em></span> to read or
117 write. Note that <code class="command">$return</code> (as used in <a class="xref" href="mainsect-disk.html#scriptdisktop">disktop.stp</a> from 117 write. Note that <code class="command">$return</code> (as used in <a class="xref" href="mainsect-disk.html#scriptdisktop">disktop.stp</a> from