O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

launchctl

Synopsis

launchctl
launchctl { help | list | export | reloadttys | shutdown }
launchctl { start | stop } job...
launchctl { load | unload } [-w] pathname...
launchctl { stdout | stderr } pathname
launchctl { getenv | unsetenv } variable
launchctl setenv variable value
launchctl getrusage { self | children }
launchctl limit [{ core | cpu | data | filesize | maxfiles | maxproc | memlock | rss
| stack } [integer [integer]]]
launchctl umask [umask]
launchctl log [level level | { only | mask } level...]

Control utility for launchd. If called with no arguments, enters an interactive mode using the same set of subcommands as may be specified on the command line. You can use Control-D or Control-C to exit interactive mode.

Options

export

Displays the shell commands necessary to export launchd's environment variables.

getenv

Displays the value of the specified launchd environment variable.

getrusage

Displays resource utilization data for launchd or its child processes.

help

Prints a usage statement to standard output.

limit

With no further arguments, displays launchd's resource limits. With one argument, displays the limit for the specified resource. If the resource name is followed by a number, both the hard and soft limits for the resource are set to the specified number. If the resource name is followed by two numbers, the soft limit is set to the first number, and the hard limit is set to the second number.

list

Displays the jobs loaded by launchd and run by the invoking user. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required