Linux Trace Toolkit: Difference between revisions

Content deleted Content added
 
(7 intermediate revisions by 4 users not shown)
Line 1:
{{multiple|
The '''Linux Trace Toolkit (LTT)''' is a set of tools that is designed to log program execution details from a patched Linux kernel and then perform various analyses on them, using console-based and graphical tools. LTT has been mostly superseded by its successor [[LTTng]] (Linux Trace Toolkit Next Generation).
{{no footnotes|date=May 2016}}
{{primary sources|date=May 2016}}
}}
The '''Linux Trace Toolkit''' ('''LTT)''') is a set of tools that is designed to log program execution details from a patched Linux kernel and then perform various analyses on them, using console-based and graphical tools. LTT has been mostly superseded by its successor [[LTTng]] (Linux Trace Toolkit Next Generation).
 
LTT allows the user to see in-depth information about the processes that were running during the trace period, including when context switches occurred, how long the processes were blocked for, and how much time the processes spent executing vs. how much time the processes were blocked. The data is logged to a text file and various console-based and graphical ([[GTK+]]) tools are provided for interpreting that data.
Line 6 ⟶ 10:
 
== Usage ==
{{Howto|date=September 2009}}
 
=== Collecting trace data ===
 
Starting dataData collection is as easyStarted asby:
 
trace 15 foo
 
This command will cause the LTT tracedaemon to do a trace that lasts for 15 seconds, writing trace data to <code>foo.trace</code> and process information from the <code>/proc</code> filesystem to <code>foo.proc</code>.
 
The <code>trace</code> command is actually a script which runs the program <code>tracedaemon</code> with some common options. It is possible to run <code>tracedaemon</code> directly and in that case, the user can use a number of command-line options to control the data which is collected. For the complete list of options supported by <code>tracedaemon</code>, see [http://www.opersys.com/LTT/dox/ltt-online-help/ltt-daemon-commandline.html the online manual page for tracedaemon].
Line 34 ⟶ 37:
== References ==
 
{{refbegin}}
<div class="references-small">
* {{cite web|first=Karim and Deschênes, Jean-Hugues|last=Yaghmour|date=2004-11-23|url=http://www.opersys.com/LTT/dox/ltt-online-help/index.html|title=Linux Trace Toolkit Reference Manual|accessdate=2006-11-07}}
* {{cite web|first=Karim and Dagenais, Michel|last=Yaghmour|date=2005-05-01|url=http://www.linuxjournal.com/article/3829|title=Linux Journal: The Linux Trace Toolkit|accessdate=2006-11-07}}
{{refend}}
<references/>
{{reflist}}
</div>
 
== External links ==
* [http://www.opersys.com/LTT/ LTT page at Opersys.com]
* [https://web.archive.org/web/20081218215723/http://ltt.polymtl.ca/ LTT page at Ecole Polytechnique de Montreal]
 
{{Linux}}
 
[[Category:Linux programming tools]]
[[Category:Computer programmingProgramming tools]]