Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/, and the various /etc/rc.* directories.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
You can simply use the |
||||
|
|
|
The /etc/init.d and /etc/rc.* directories have been superseded by the 'upstart' init tool. Although scripts in these directories will be executed as expected, the new method for running things on init is defined by files in /etc/init/ You can list all of the upstart jobs with by querying upstart over dbus:
You may have to change 0_6 to reflect the version of upstart you have; this command works on my lucid install. |
|||
|
|
If you want a nice graphical representation of services and time it takes to boot try, apt-get install bootchart |
|||
|
|