<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">In general, I'd recommend using the new print subcommand for this kind of system administration-ish stuff. The semantics around the old commands (like load, unload, list, etc.) were highly context-dependent, and that led to tons of situations where people had perfectly reasonable expectations (such as Raunak's) about being able to query a job loaded in a certain session, but due to (mumble mumble Mach, POSIX, bootstraps, sockets), you'd get completely different behavior.</div><div class=""><br class=""></div><div class="">The new print subcommand requires you to specifically target sessions and jobs (now called domains and services) rather than trying to sniff out which one you mean based purely on context. And it prints way more information, such as where the service was loaded from on-disk (if it came from on-disk), much more detailed last exit status, and more.</div><div class="">-damien</div><div class=""><br class=""></div>On 11 Apr, 2015, at 04:33, Thomas Clement &lt;<a href="mailto:tclementdev@gmail.com" class="">tclementdev@gmail.com</a>&gt; wrote:<div><blockquote type="cite" class=""><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">hmm ok, on 10.10 you can try the following:</div><div class=""><br class=""></div><div class="">&gt; launchctl print user/0/com.mycompany.myAgent</div><div class=""><br class=""></div><div class="">&gt; launchctl print gui/0/com.mycompany.myAgent</div><div class=""><br class=""></div><br class=""><div class=""><div class="">On 11 Apr 2015, at 13:20, Raunak Poddar &lt;<a href="mailto:raunak.poddar@gmail.com" class="">raunak.poddar@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class=""><div style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">$ launchctl -u root list</div><div style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Unrecognized subcommand: -u</div><div style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">(On Mac OS X 10.10)</div></blockquote></div><br class=""></div>_______________________________________________<br class="">launchd-dev mailing list<br class=""><a href="mailto:launchd-dev@lists.macosforge.org" class="">launchd-dev@lists.macosforge.org</a><br class="">https://lists.macosforge.org/mailman/listinfo/launchd-dev<br class=""></div></blockquote></div><br class=""></body></html>