Linux Trace Toolkit

Linux Trace Toolkit

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 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.

In order to do data collection, LTT requires a patched Linux kernel. The authors of LTT claim that the performance hit for a patched kernel compared to a regular kernel is minimal; Their testing has reportedly shown that this is less than 2.5% on a "normal use" system (measured using batches of kernel makes) and less than 5% on a file I/O intensive system (measured using batches of tar).

Usage

Collecting trace data

Starting data collection is as easy as:

trace 15 foo

This command will cause the LTT tracedaemon to do a trace that lasts for 15 seconds, writing trace data to foo.trace and process information from the /proc filesystem to foo.proc.

The trace command is actually a script which runs the program tracedaemon with some common options. It is possible to run tracedaemon 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 tracedaemon, see [http://www.opersys.com/LTT/dox/ltt-online-help/ltt-daemon-commandline.html the online manual page for tracedaemon] .

Viewing the results

Viewing the results of a trace can be accomplished with:

traceview foo

This command will launch a graphical (GTK+) traceview tool that will read from foo.trace and foo.proc. This tool can show information in various interesting ways, including Event Graph, Process Analysis, and Raw Trace. The Event Graph is perhaps the most interesting view, showing the exact timing of events like page faults, interrupts, and context switches, in a simple graphical way.

The traceview command is a wrapper for a program called tracevisualizer. For the complete list of options supported by tracevisualizer, see [http://www.opersys.com/LTT/dox/ltt-online-help/ltt-decoder-commandline.html the online manual page for tracevisualizer] .

References


*
*

See also

* Performance analysis

External links

* [http://www.opersys.com/LTT/ LTT page at Opersys.com]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • LTT — Linux Trace Toolkit (Computing » General) * Land Transfer Tax (Governmental » US Government) * Light Triggered Thyristor (Academic & Science » Electronics) * Long Term Training (Governmental » Military) * Long Term Training (Governmental » US… …   Abbreviations dictionary

  • RTAI — (Real Time Application Interface) ist eine Erweiterung von Linux zu einem Echtzeitbetriebssystem. Gegründet wurde RTAI von Prof. Paolo Mantegazza vom Dipartimento di Ingegneria Aerospaziale der Technischen Universität Mailand. RTAI wurde vom… …   Deutsch Wikipedia

  • LTT — is an initialism for the following:*Leninist Trotskyist Tendency *Light Triggered Thyristor *Lightstream Transmission Telecom a Global telecommunications carrier *Lancastrian Transport Trust a charity concerned with preserving trams and buses of… …   Wikipedia

  • netsniff-ng — toolkit Original author(s) Daniel Borkmann Developer(s) …   Wikipedia

  • Comparison of raster to vector conversion software — The following tables contain general and technical information about a number of raster to vector conversion software products. Please see the individual products articles for further information. Contents 1 General information 2 Operating system …   Wikipedia

  • List of computing and IT abbreviations — This is a list of computing and IT acronyms and abbreviations. Contents: 0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y …   Wikipedia

  • Windows Presentation Foundation — This subsystem is a part of .NET Framework 3.0 Developed by Microsoft, the Windows Presentation Foundation (or WPF) is a computer software graphical subsystem for rendering user interfaces in Windows based applications. WPF, previously known as… …   Wikipedia

  • Live CD — Un live CD[1] ou CD autonome selon la traduction proposée par le projet Debian est un CD qui contient un système d’exploitation exécutable sans installation, qui se lance au démarrage de l’ordinateur. Par extension, live CD désigne un système… …   Wikipédia en Français

  • HaXe — Entwickler: Motion Twin Aktuelle Version: 2.0 Betriebssystem: Windows, Linux, Mac OS X Kategorie: Programmierspr …   Deutsch Wikipedia

  • HaXe (Programmiersprache) — haXe Entwickler: Motion Twin Aktuelle Version: 2.0 Betriebssystem: Windows, Linux, Mac OS X Kategorie: Programmierspr …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”