The man page of the service command lists the --status-all option so that you can check the status of all running services.

However when I run the command the first column can contain -, ? or + e.g.

[ - ]  postfix
[ + ]  postgresql-8.4
[ ? ]  pppd-dns

Is there some place where I can find out the significance of the first column ? I'm running ubuntu 10.10

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted
  • [?] means the service status isn't known (the init file does not output a status)
  • [+] means the service is running
  • [-] means the service is not running

There is probably an authoritative source, but I got it from looking at the /usr/sbin/service script.

link|improve this answer
thanks, I didn't realise it was just a shell script – Philip Clarke Dec 15 '11 at 16:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.