File: systemd-report.xml

package info (click to toggle)
systemd 260~rc1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 114,856 kB
  • sloc: ansic: 741,078; xml: 122,218; sh: 36,483; python: 36,381; cpp: 947; makefile: 277; awk: 126; lisp: 13; sed: 1
file content (121 lines) | stat: -rw-r--r-- 4,282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version='1.0'?> <!--*-nxml-*-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->

<refentry id="systemd-report"
    xmlns:xi="http://www.w3.org/2001/XInclude">

  <refentryinfo>
    <title>systemd-report</title>
    <productname>systemd</productname>
  </refentryinfo>

  <refmeta>
    <refentrytitle>systemd-report</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>systemd-report</refname>
    <refpurpose>Generate report of system facts and metrics</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>systemd-report</command> <arg choice="opt" rep="repeat">OPTIONS</arg>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>

    <para><emphasis>Note: this command is experimental for now. While it is likely to become a regular
    component of systemd, it might still change in behaviour and interface.</emphasis></para>

    <para><command>systemd-report</command> requests facts and metrics from the system and writes them to
    standard output.</para>
  </refsect1>

  <refsect1>
    <title>Commands</title>

    <para>The following commands are understood:</para>

    <variablelist>
      <varlistentry>
        <term><command>metrics</command> <arg choice="opt" rep="repeat">MATCH</arg></term>

        <listitem><para>Acquire a list of metrics values from all local services providing them, and write
        them to standard output. Optionally takes one or more match expressions for filtering the metrics to
        show. The expression either may be a literal metric family name to search for, or a prefix of one
        (which will be matched only at dot boundaries). If multiple matches are specified as multiple
        parameters, any metric matching <emphasis>any</emphasis> of the specified matches are shown.</para>

        <xi:include href="version-info.xml" xpointer="v260"/></listitem>
      </varlistentry>

      <varlistentry>
        <term><command>describe-metrics</command> <arg choice="opt" rep="repeat">MATCH</arg></term>

        <listitem><para>Acquire a list of metric families from all local services providing them, and write
        them to standard output. This returns primarily static information about metrics, their data types
        and human readable description, without values.</para>

        <para>Match expressions similar to those supported by <command>metrics</command> are supported for
        <command>describe-metrics</command>, too.</para>

        <xi:include href="version-info.xml" xpointer="v260"/></listitem>
      </varlistentry>

      <varlistentry>
        <term><command>list-sources</command></term>

        <listitem><para>Show list of known metrics sources.</para>

        <xi:include href="version-info.xml" xpointer="v260"/></listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>Options</title>

    <para>The following options are understood:</para>

    <variablelist>
      <varlistentry>
        <term><option>--system</option></term>
        <term><option>--user</option></term>

        <listitem>
          <para>Query per-system metrics sources (the default), or the per-user metrics sources.</para>

          <xi:include href="version-info.xml" xpointer="v260"/>
        </listitem>
      </varlistentry>

      <xi:include href="standard-options.xml" xpointer="no-pager" />
      <xi:include href="standard-options.xml" xpointer="json" />
      <xi:include href="standard-options.xml" xpointer="j" />
      <xi:include href="standard-options.xml" xpointer="no-legend" />
      <xi:include href="standard-options.xml" xpointer="help" />
      <xi:include href="standard-options.xml" xpointer="version" />
    </variablelist>

  </refsect1>

  <refsect1>
    <title>Exit status</title>

    <para>On success, 0 is returned, a non-zero failure code
    otherwise.</para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para><simplelist type="inline">
      <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
    </simplelist></para>
  </refsect1>
</refentry>