summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-11-16 16:08:15 +0100
committerLennart Poettering <lennart@poettering.net>2023-12-06 22:18:14 +0100
commitfb8cc599ed863502d67da038ca9b8bae7d1184e0 (patch)
tree278733db674a07b4682e6392cd5132a9d7304c3b /man
parentsystemctl-whoami: use pidfd to refer to processes (diff)
downloadsystemd-fb8cc599ed863502d67da038ca9b8bae7d1184e0.tar.xz
systemd-fb8cc599ed863502d67da038ca9b8bae7d1184e0.zip
analyze: add "architectures" verb that lists all known architectures
Diffstat (limited to 'man')
-rw-r--r--man/systemd-analyze.xml32
-rw-r--r--man/systemd.unit.xml4
2 files changed, 36 insertions, 0 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 2f2873452a..ad6ba5c090 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -179,6 +179,12 @@
<arg choice="opt" rep="repeat">OPTIONS</arg>
<arg choice="plain">srk</arg> &gt;<arg choice="plain"><replaceable>FILE</replaceable></arg>
</cmdsynopsis>
+ <cmdsynopsis>
+ <command>systemd-analyze</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="plain">architectures</arg>
+ <arg choice="opt" rep="repeat"><replaceable>NAME</replaceable></arg>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
@@ -941,6 +947,32 @@ NR NAME SHA256
<programlisting>systemd-analyze srk &gt; srk.tpm2b_public</programlisting>
</refsect2>
+ <refsect2>
+ <title><command>systemd-analyze architectures <optional><replaceable>NAME</replaceable>...</optional></command></title>
+
+ <para>Lists all known CPU architectures, and which ones are native. The listed architecture names are
+ those <varname>ConditionArchitecture=</varname> supports, see
+ <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
+ details. If architecture names are specified only those specified are listed.</para>
+
+ <example>
+ <title>Table output</title>
+ <programlisting>$ systemd-analyze architectures
+NAME SUPPORT
+alpha foreign
+arc foreign
+arc-be foreign
+arm foreign
+arm64 foreign
+…
+sparc foreign
+sparc64 foreign
+tilegx foreign
+x86 secondary
+x86-64 native</programlisting>
+ </example>
+ </refsect2>
+
</refsect1>
<refsect1>
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 190d4c1d2f..7fed74a227 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1321,6 +1321,10 @@
<literal>arc-be</literal>, or
<literal>native</literal>.</para>
+ <para>Use
+ <citerefentry><refentrytitle>systemd-analyze</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ for the complete list of known architectures.</para>
+
<para>The architecture is determined from the information returned by
<citerefentry project='man-pages'><refentrytitle>uname</refentrytitle><manvolnum>2</manvolnum></citerefentry>
and is thus subject to