web-dev-qa-db-fra.com

Qu'est-ce que les chiffres dans la colonne de statut de liste de LaunchCtL?

launtCl a une colonne "Status" dans la sortie de la liste de lanceurs. Le Manpage ou l'un des Mangages de lancée liés ne mentionnent pas cette colonne ou ce que cela signifie.

16
ldrg

C'est le dernier code de sortie de ce service.

La page launchctl manche le décrit.

 list [-x] [label]
          With no arguments, list all of the jobs loaded into launchd in
          three columns. The first column displays the PID of the job if
          it is running.  The second column displays the last exit status
          of the job. If the number in this column is negative, it repre-
          sents the negative of the signal which killed the job.  Thus,
          "-15" would indicate that the job was terminated with SIGTERM.
          The third column is the job's label.
17
Sven