summaryrefslogtreecommitdiffstats
path: root/man/systemd-analyze.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-01-26 14:28:15 +0100
committerLuca Boccassi <bluca@debian.org>2023-02-23 19:59:06 +0100
commitf50535afada5628eb4212729476b1dc1f2079c88 (patch)
treee5b0765be04edd8497e01284c16d4009005f0e90 /man/systemd-analyze.xml
parentmanager: add GetMallocInfo() hidden/debug method (diff)
downloadsystemd-f50535afada5628eb4212729476b1dc1f2079c88.tar.xz
systemd-f50535afada5628eb4212729476b1dc1f2079c88.zip
analyze: add 'malloc' verb to dump malloc_info()
Gets the memory state of the manager: root@image:~# systemd-analyze malloc <malloc version=1> <heap nr=0> <sizes> <size from=33 to=33 total=396 count=12/> <unsorted from=20385 to=20385 total=20385 count=1/> </sizes> <total type=fast count=0 size=0/> <total type=rest count=14 size=36589/> <system type=current size=1691648/> <system type=max size=1839104/> <aspace type=total size=1691648/> <aspace type=mprotect size=1691648/> </heap> <total type=fast count=0 size=0/> <total type=rest count=14 size=36589/> <total type=mmap count=0 size=0/> <system type=current size=1691648/> <system type=max size=1839104/> <aspace type=total size=1691648/> <aspace type=mprotect size=1691648/> </malloc>
Diffstat (limited to 'man/systemd-analyze.xml')
-rw-r--r--man/systemd-analyze.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index f81dcc324a..8ceeccb37a 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -139,6 +139,12 @@
<arg choice="plain">security</arg>
<arg choice="plain" rep="repeat"><replaceable>UNIT</replaceable></arg>
</cmdsynopsis>
+ <cmdsynopsis>
+ <command>systemd-analyze</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="plain">malloc</arg>
+ <arg choice="opt" rep="repeat"><replaceable>D-BUS SERVICE</replaceable></arg>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
@@ -272,6 +278,16 @@ Timestamp units-load-finish: Thu 2019-03-14 23:28:07 CET
</refsect2>
<refsect2>
+ <title><command>systemd-analyze malloc [<replaceable>D-Bus service</replaceable>…]</command></title>
+
+ <para>This command can be used to request the output of the internal memory state (as returned by
+ <citerefentry><refentrytitle>malloc_info</refentrytitle><manvolnum>3</manvolnum></citerefentry>) of
+ a D-Bus service implementing this pattern. If no service is specified, the command will be sent to
+ <filename>org.freedesktop.systemd1</filename> (the system or user service manager). The output format
+ is subject to change without notice and should not be parsed by applications.</para>
+ </refsect2>
+
+ <refsect2>
<title><command>systemd-analyze plot</command></title>
<para>This command prints either an SVG graphic, detailing which system services have been started at what