Remove unneeded "will"s + minor fixes
[lttng-docs.git] / contents / using-lttng / controlling-tracing / mi.md
CommitLineData
c23b8cb1
PP
1---
2id: mi
3---
4
5The `lttng` tool aims at providing a command output as human-readable as
6possible. While this output is easy to parse by a human being, machines
47bfcb75 7have a hard time.
c23b8cb1
PP
8
9This is why the `lttng` tool provides the general `--mi` option, which
10must specify a machine interface output format. As of the latest
11LTTng stable release, only the `xml` format is supported. A schema
12definition (XSD) is made
13<a href="https://github.com/lttng/lttng-tools/blob/master/src/common/mi_lttng.xsd" class="ext">available</a>
14to ease the integration with external tools as much as possible.
15
16The `--mi` option can be used in conjunction with all `lttng` commands.
17Here are some examples:
18
19<pre class="term">
20lttng --mi xml create some-session
21lttng --mi xml list some-session
22lttng --mi xml list --kernel
23lttng --mi xml enable-event --kernel --syscall open
24lttng --mi xml start
25</pre>
This page took 0.022421 seconds and 4 git commands to generate.