update-rc.d
Tom H
tomh0665 at gmail.com
Wed Apr 14 22:15:20 UTC 2010
On Wed, Apr 14, 2010 at 5:57 PM, James Bensley <jwbensley at gmail.com> wrote:
> Using update-rc.d one can add a service to run levels, remove it, set
> the defaults etc but how can I just view what services are running at
> each run level.
>
> I am coming over from CentOS/RH so I would normally use chkconfig
> --list, what is the Ubuntu equivalent?
You can install chkconfig but I doubt that it will be useful (or even
accurate!).
Debian and Ubuntu have done away with CentOS-style runlevels in that
runlevels 2-5 are all the same.
Ubuntu's upstart has even rid itself of runlevels for many/most of the
upstart jobs; many/most of the upstart conf files do not even have a
runlevel invocation.
You can find out which services are running/waiting/stopped with
initctl list
for all services
and
initctl status <upstartjob>
for a specific job.
More information about the ubuntu-users
mailing list