<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://noname.com.ua/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Launchctl</id>
	<title>Launchctl - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://noname.com.ua/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Launchctl"/>
	<link rel="alternate" type="text/html" href="https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;action=history"/>
	<updated>2026-05-14T21:17:42Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13287&amp;oldid=prev</id>
		<title>Sirmax: /* юниты пользователя */</title>
		<link rel="alternate" type="text/html" href="https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13287&amp;oldid=prev"/>
		<updated>2024-05-14T13:44:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;юниты пользователя&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;amp;diff=13287&amp;amp;oldid=13286&quot;&gt;Внесённые изменения&lt;/a&gt;</summary>
		<author><name>Sirmax</name></author>
	</entry>
	<entry>
		<id>https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13286&amp;oldid=prev</id>
		<title>Sirmax: /* примеры */</title>
		<link rel="alternate" type="text/html" href="https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13286&amp;oldid=prev"/>
		<updated>2024-05-14T13:44:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;примеры&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия 13:44, 14 мая 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 6:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 6:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/var/log/com.apple.xpc.launchd/launchd.log&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/var/log/com.apple.xpc.launchd/launchd.log&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=примеры=&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=примеры=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==юниты пользователя==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;PRE&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;launchctl print user/501&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/PRE&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 501 - ID первого созданного пользователя, обычно собственно и единственного&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= прочее=&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= прочее=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki_noname_com_ua:diff:wikidiff2:1.12:old-13285:rev-13286:1.10.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sirmax</name></author>
	</entry>
	<entry>
		<id>https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13285&amp;oldid=prev</id>
		<title>Sirmax в 13:41, 14 мая 2024</title>
		<link rel="alternate" type="text/html" href="https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13285&amp;oldid=prev"/>
		<updated>2024-05-14T13:41:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия 13:41, 14 мая 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 2:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 2:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Категория:launchctl]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Категория:launchctl]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=логи=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/var/log/com.apple.xpc.launchd/launchd.log&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=примеры=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= прочее=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;PRE&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;PRE&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Various combinations and examples below:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Various combinations and examples below:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki_noname_com_ua:diff:wikidiff2:1.12:old-13284:rev-13285:1.10.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sirmax</name></author>
	</entry>
	<entry>
		<id>https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13284&amp;oldid=prev</id>
		<title>Sirmax: Новая страница: «Категория:MacOS X Категория:launchctl  &lt;PRE&gt; Various combinations and examples below:  Use: launchctl list to list all services. Simple...»</title>
		<link rel="alternate" type="text/html" href="https://noname.com.ua/mediawiki/index.php?title=Launchctl&amp;diff=13284&amp;oldid=prev"/>
		<updated>2024-05-14T13:39:45Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «&lt;a href=&quot;/mediawiki/index.php/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:MacOS_X&quot; title=&quot;Категория:MacOS X&quot;&gt;Категория:MacOS X&lt;/a&gt; &lt;a href=&quot;/mediawiki/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:Launchctl&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Категория:Launchctl (страница не существует)&quot;&gt;Категория:launchctl&lt;/a&gt;  &amp;lt;PRE&amp;gt; Various combinations and examples below:  Use: launchctl list to list all services. Simple...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Категория:MacOS X]]&lt;br /&gt;
[[Категория:launchctl]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
Various combinations and examples below:&lt;br /&gt;
&lt;br /&gt;
Use: launchctl list to list all services. Simple listing of known services, not detailed.&lt;br /&gt;
&lt;br /&gt;
Sample output:&lt;br /&gt;
&lt;br /&gt;
$ launchctl list&lt;br /&gt;
&lt;br /&gt;
PID Status  Label&lt;br /&gt;
659 0   com.apple.trustd.agent&lt;br /&gt;
-   0   com.apple.MailServiceAgent&lt;br /&gt;
-   0   com.apple.mdworker.mail&lt;br /&gt;
99270   0   com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000&lt;br /&gt;
-   0   com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000&lt;br /&gt;
-   0   com.apple.appkit.xpc.ColorSampler&lt;br /&gt;
652 0   com.apple.cfprefsd.xpc.agent&lt;br /&gt;
-   0   com.apple.coreimportd&lt;br /&gt;
770 0   com.apple.TrustedPeersHelper&lt;br /&gt;
-   0   com.apple.SafariHistoryServiceAgent&lt;br /&gt;
1236    0   com.apple.progressd&lt;br /&gt;
3111    0   com.apple.cloudphotod&lt;br /&gt;
758 0   com.apple.Finder&lt;br /&gt;
693 0   com.apple.homed&lt;br /&gt;
-   78  com.ajsoft.a.mail&lt;br /&gt;
&lt;br /&gt;
The first column is the process PID&lt;br /&gt;
The second column is a return code&lt;br /&gt;
The 3rd column is process label&lt;br /&gt;
Itens with - on the first column are NOT running&lt;br /&gt;
&lt;br /&gt;
Itens with - and not 0 on the second column were executed at least once, but are now either sleeping or stopped, example: -    78  com.ajsoft.a.mail&lt;br /&gt;
&lt;br /&gt;
Detailed list of all services under the system domain: [all, including enabled and disabled ones]&lt;br /&gt;
&lt;br /&gt;
sudo launchctl print system/&lt;br /&gt;
To get detailed list only of the DISABLED System services:&lt;br /&gt;
&lt;br /&gt;
sudo launchctl print-disabled system/&lt;br /&gt;
To get ALL information about a specific system service&lt;br /&gt;
&lt;br /&gt;
launchctl print system/com.vix.cron&lt;br /&gt;
sample output:&lt;br /&gt;
&lt;br /&gt;
$ launchctl print system/com.vix.cron&lt;br /&gt;
&lt;br /&gt;
com.vix.cron = {&lt;br /&gt;
    active count = 0&lt;br /&gt;
    copy count = 0&lt;br /&gt;
    one shot = 0&lt;br /&gt;
    path = /System/Library/LaunchDaemons/com.vix.cron.plist&lt;br /&gt;
    state = waiting&lt;br /&gt;
&lt;br /&gt;
    program = /usr/sbin/cron&lt;br /&gt;
    arguments = {&lt;br /&gt;
        /usr/sbin/cron&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    default environment = {&lt;br /&gt;
        PATH =&amp;gt; /usr/bin:/bin:/usr/sbin:/sbin&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    environment = {&lt;br /&gt;
        XPC_SERVICE_NAME =&amp;gt; com.vix.cron&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    domain = com.apple.xpc.launchd.domain.system&lt;br /&gt;
    domain umask = 22&lt;br /&gt;
    minimum runtime = 10&lt;br /&gt;
    exit timeout = 5&lt;br /&gt;
    runs = 0&lt;br /&gt;
    successive crashes = 0&lt;br /&gt;
    last exit code = (never exited)&lt;br /&gt;
To print all services under the domain of the user with UID 501&lt;br /&gt;
&lt;br /&gt;
launchctl print user/501&lt;br /&gt;
Get all information using the service or application PID (returned by the command 'launchctl list`)&lt;br /&gt;
&lt;br /&gt;
launchctl print pid/758&lt;br /&gt;
sample output:&lt;br /&gt;
&lt;br /&gt;
com.apple.xpc.launchd.domain.pid.Finder.758 = {&lt;br /&gt;
    type = process&lt;br /&gt;
    handle = 758&lt;br /&gt;
    active count = 91&lt;br /&gt;
    on-demand count = 1&lt;br /&gt;
    service count = 90&lt;br /&gt;
    active service count = 2&lt;br /&gt;
    activity ratio = 0.02&lt;br /&gt;
    originator = /System/Library/CoreServices/Finder.app&lt;br /&gt;
    creator = Finder.758&lt;br /&gt;
    creator euid = 503&lt;br /&gt;
    uniqueid = 758&lt;br /&gt;
    external activation count = 0&lt;br /&gt;
    security context = {&lt;br /&gt;
        uid = 503&lt;br /&gt;
        asid = 100008&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    bringup time = 20 ms&lt;br /&gt;
    death port = 0x52a63&lt;br /&gt;
&lt;br /&gt;
    in-progress bootstraps = 0&lt;br /&gt;
    pended requests = 0&lt;br /&gt;
    pending requests = {&lt;br /&gt;
    }&lt;br /&gt;
    subdomains = {&lt;br /&gt;
    }&lt;br /&gt;
    pending attachments = {&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    environment = {&lt;br /&gt;
        PATH =&amp;gt; /usr/bin:/bin:/usr/sbin:/sbin&lt;br /&gt;
        SSH_AUTH_SOCK =&amp;gt; /private/tmp/com.apple.launchd.Me9t1KNNjL/Listeners&lt;br /&gt;
        TMPDIR =&amp;gt; /var/folders/km/w6p6dvwx6qb16nzxdwy5m5080000gq/T/&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    services = {&lt;br /&gt;
               0      -     com.apple.amp.devicesui&lt;br /&gt;
               0      -     com.apple.security.pboxd&lt;br /&gt;
               0      -     com.apple.coremedia.videodecoder&lt;br /&gt;
               0      -     com.apple.SafariServices&lt;br /&gt;
               0      -     com.apple.MediaLibraryService&lt;br /&gt;
               0      -     com.apple.coreservices.SharePointManagementService&lt;br /&gt;
               0      -     com.apple.managedclient.pds.Exchange&lt;br /&gt;
               0      -     com.apple.SystemExtensionsMDM&lt;br /&gt;
               0      -     com.apple.LookupViewService&lt;br /&gt;
To get information using the session id&lt;br /&gt;
launchctl print session/100008&lt;br /&gt;
sample output:&lt;br /&gt;
&lt;br /&gt;
com.apple.xpc.launchd.domain.session.100008 = {&lt;br /&gt;
    type = session&lt;br /&gt;
    handle = 100008&lt;br /&gt;
    active count = 1&lt;br /&gt;
    on-demand count = 0&lt;br /&gt;
    creator = launchctl.42668&lt;br /&gt;
    creator euid = 0&lt;br /&gt;
    external activation count = 0&lt;br /&gt;
    security context = {&lt;br /&gt;
        uid unset&lt;br /&gt;
        asid = 100008&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    death port = 0x0&lt;br /&gt;
Useful commands:&lt;br /&gt;
&lt;br /&gt;
This command installs/add a service:&lt;br /&gt;
&lt;br /&gt;
launchctl load /Library/LaunchDaemons/com.ServiceExample.plist&lt;br /&gt;
This command enable a service to auto run after installed:&lt;br /&gt;
&lt;br /&gt;
launchctl enable system/com.ServiceExample&lt;br /&gt;
This command disable a installed service from auto-running:&lt;br /&gt;
&lt;br /&gt;
launchctl disable system/com.ServiceExample&lt;br /&gt;
This command start a service:&lt;br /&gt;
&lt;br /&gt;
launchctl start system/com.ServiceExample&lt;br /&gt;
This command stop a service:&lt;br /&gt;
&lt;br /&gt;
launchctl stop system/com.ServiceExample&lt;br /&gt;
This command remove a service:&lt;br /&gt;
&lt;br /&gt;
launchctl unload /Library/LaunchDaemons/com.ServiceExample.plist&lt;br /&gt;
This command force execution of a recent loaded service:&lt;br /&gt;
&lt;br /&gt;
launchctl kickstart -p /Library/LaunchDaemons/com.ServiceExample.plist&lt;br /&gt;
This command Stops and Disable a running service&lt;br /&gt;
&lt;br /&gt;
launchctl bootout system/com.ServiceExample&lt;br /&gt;
You can change the above 'system domain' for a 'user domain' process.&lt;br /&gt;
&lt;br /&gt;
Install/add means: include the service on the listing of services that the system knows about. (so you can start and stop it)&lt;br /&gt;
remove means: remove the service from the system listing of known services. (it will not be listed anymore if you execute launchctl list)&lt;br /&gt;
No files are deleted by removing the service, you just remove its .plist reference from the list of services. Once removed you cannot start/stop it. And it will not show on the launchctl list. Unless you add it again with the load parameter.&lt;br /&gt;
Share&lt;br /&gt;
Improve this answer&lt;br /&gt;
Follow&lt;br /&gt;
edited Aug 9, 2019 at 16:39&lt;br /&gt;
answered Aug 9, 2019 at 16:32&lt;br /&gt;
Prado's user avatar&lt;br /&gt;
Prado&lt;br /&gt;
2,0741111 silver badges1818 bronze badges&lt;br /&gt;
A lot of useful information, thanks you. But if I want to know for one system service (not list) if it is running - yes/no, what should I check? Maybe specify an item? – &lt;br /&gt;
sekrett&lt;br /&gt;
 Apr 24, 2023 at 16:27&lt;br /&gt;
Add a comment&lt;br /&gt;
 &lt;br /&gt;
5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can do this by running the command:&lt;br /&gt;
&lt;br /&gt;
launchctl list&lt;br /&gt;
In the first column of the output, you'll find the PID. If this is a number, the service is running - if it is listed as &amp;quot;-&amp;quot; it is not running.&lt;br /&gt;
&lt;br /&gt;
Similarly you can check a single daemon like this:&lt;br /&gt;
&lt;br /&gt;
launchctl list &amp;lt;daemon&amp;gt;&lt;br /&gt;
it will an output with various information - one of the lines looking like this:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;PID&amp;quot; = 310;&lt;br /&gt;
this means that the program is running, and the process ID is 310. If there's no &amp;quot;PID&amp;quot; line, then the daemon is not running.&lt;br /&gt;
&lt;br /&gt;
There's no option to get an output identical to the one you know from systemctl for systemd. I'm not sure why you would want an identical output, or why you think there would be one. It wasn't possible for Apple to provide a compatible output when they released launchctl, as launchd predates systemd by 5 years. So in terms of &amp;quot;compatibility&amp;quot;, it should really be the other way around - although I don't see the point in having compatible outputs there.&lt;br /&gt;
&lt;br /&gt;
If you really want a similar output, it is relatively simple to create a small scripts that takes the output from launchctl and outputs it in a format similar to the output from systemctl. However it cannot be precisely the same, as the two utilities have diffent options and different information available to them.&lt;br /&gt;
&lt;br /&gt;
For example the systemctl output usually contains stuff like log output (integrated into systemd, not integrated into launchd), CGroup information (Linux only feature) and pointers to documentation.&lt;br /&gt;
&lt;br /&gt;
Similarly the launchctl output contains stuff like MachServices which is only available for macOS.&lt;br /&gt;
&lt;br /&gt;
Please note that it is possible to setup launchd to start a daemon &amp;quot;on demand&amp;quot;. This means that you specify for example that your web server software runs on TCP port 80 - and then launchd monitors that port and starts your daemon only when there's incoming requests. If you use launchctl you wouldn't find a PID for the daemon initially, but if you start sending requests to it - it will be started and have a PID. When requests stop, the daemon will be stopped again after a short while.&lt;br /&gt;
Share&lt;br /&gt;
Improve this answer&lt;br /&gt;
Follow&lt;br /&gt;
edited Jul 9, 2019 at 10:51&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* https://apple.stackexchange.com/questions/366281/launchd-confusion-on-semantics-of-bootstrap-and-bootout-etc-after-reading-manu&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Sirmax</name></author>
	</entry>
</feed>