Howto check or list all service daemon startup on Ubuntu

Howto check or list all service daemon startup on Ubuntu

ubuntu

Two ways you can check or list all the services which will be startup on Ubuntu Server.

1. Use “initctl list” command

root@guadal-virtual-machine:~# initctl list
avahi-daemon start/running, process 811
mountall-net stop/waiting
rc stop/waiting
rsyslog start/running, process 817
tty4 start/running, process 1085
udev start/running, process 399
upstart-udev-bridge start/running, process 393
ureadahead-other stop/waiting
whoopsie start/running, process 1161
apport start/running
console-setup stop/waiting
hwclock-save stop/waiting
irqbalance stop/waiting
plymouth-log stop/waiting
tty5 start/running, process 1091
failsafe stop/waiting
hybrid-gfx stop/waiting
modemmanager start/running, process 778
rfkill-store stop/waiting
atd start/running, process 1138
dbus start/running, process 656
failsafe-x stop/waiting
mounted-var stop/waiting
plymouth stop/waiting
resolvconf start/running
ssh start/running, process 647
udev-fallback-graphics stop/waiting
control-alt-delete stop/waiting
hwclock stop/waiting
mounted-proc stop/waiting
network-manager start/running, process 883
alsa-store stop/waiting
module-init-tools stop/waiting
setvtrgb stop/waiting
shutdown stop/waiting
alsa-restore stop/waiting
cron start/running, process 1137
lightdm start/running, process 1155
mountall stop/waiting
mounted-debugfs stop/waiting
console stop/waiting
mounted-run stop/waiting
acpid start/running, process 1129
bluetooth start/running, process 807
plymouth-stop stop/waiting
rcS stop/waiting
ufw start/running
wait-for-state stop/waiting
flush-early-job-log stop/waiting
friendly-recovery stop/waiting
rc-sysinit stop/waiting
ubiquity stop/waiting
cups start/running, process 840
upstart-socket-bridge start/running, process 856
anacron stop/waiting
tty2 start/running, process 1103
udevtrigger stop/waiting
container-detect stop/waiting
mounted-dev stop/waiting
tty3 start/running, process 1104
udev-finish stop/waiting
cryptdisks-udev stop/waiting
hostname stop/waiting
mountall-reboot stop/waiting
mysql start/running, process 1160
mountall-shell stop/waiting
mounted-tmp stop/waiting
network-interface (lo) start/running
network-interface (eth0) start/running
plymouth-splash stop/waiting
plymouth-upstart-bridge stop/waiting
tty1 start/running, process 1530
udevmonitor stop/waiting
cryptdisks-enable stop/waiting
dmesg stop/waiting
network-interface-security (network-manager) start/running
network-interface-security (network-interface/eth0) start/running
network-interface-security (network-interface/lo) start/running
network-interface-security (networking) start/running
networking stop/waiting
procps stop/waiting
rfkill-restore stop/waiting
tty6 start/running, process 1107
network-interface-container stop/waiting
ureadahead stop/waiting
root@guadal-virtual-machine:~#

2. Use “dbus-send” command

root@guadal-virtual-machine:~# dbus-send –print-reply –system –dest=com.ubuntu.Upstart /com/ubuntu/Upstart com.ubuntu.Upstart0_6.GetAllJobs
method return sender=:1.0 -> dest=:1.63 reply_serial=2
array [
object path “/com/ubuntu/Upstart/jobs/avahi_2ddaemon”
object path “/com/ubuntu/Upstart/jobs/mountall_2dnet”
object path “/com/ubuntu/Upstart/jobs/rc”
object path “/com/ubuntu/Upstart/jobs/rsyslog”
object path “/com/ubuntu/Upstart/jobs/tty4”
object path “/com/ubuntu/Upstart/jobs/udev”
object path “/com/ubuntu/Upstart/jobs/upstart_2dudev_2dbridge”
object path “/com/ubuntu/Upstart/jobs/ureadahead_2dother”
object path “/com/ubuntu/Upstart/jobs/whoopsie”
object path “/com/ubuntu/Upstart/jobs/apport”
object path “/com/ubuntu/Upstart/jobs/console_2dsetup”
object path “/com/ubuntu/Upstart/jobs/hwclock_2dsave”
object path “/com/ubuntu/Upstart/jobs/irqbalance”
object path “/com/ubuntu/Upstart/jobs/plymouth_2dlog”
object path “/com/ubuntu/Upstart/jobs/tty5”
object path “/com/ubuntu/Upstart/jobs/failsafe”
object path “/com/ubuntu/Upstart/jobs/hybrid_2dgfx”
object path “/com/ubuntu/Upstart/jobs/modemmanager”
object path “/com/ubuntu/Upstart/jobs/rfkill_2dstore”
object path “/com/ubuntu/Upstart/jobs/atd”
object path “/com/ubuntu/Upstart/jobs/dbus”
object path “/com/ubuntu/Upstart/jobs/failsafe_2dx”
object path “/com/ubuntu/Upstart/jobs/mounted_2dvar”
object path “/com/ubuntu/Upstart/jobs/plymouth”
object path “/com/ubuntu/Upstart/jobs/resolvconf”
object path “/com/ubuntu/Upstart/jobs/ssh”
object path “/com/ubuntu/Upstart/jobs/udev_2dfallback_2dgraphics”
object path “/com/ubuntu/Upstart/jobs/control_2dalt_2ddelete”
object path “/com/ubuntu/Upstart/jobs/hwclock”
object path “/com/ubuntu/Upstart/jobs/mounted_2dproc”
object path “/com/ubuntu/Upstart/jobs/network_2dmanager”
object path “/com/ubuntu/Upstart/jobs/alsa_2dstore”
object path “/com/ubuntu/Upstart/jobs/module_2dinit_2dtools”
object path “/com/ubuntu/Upstart/jobs/setvtrgb”
object path “/com/ubuntu/Upstart/jobs/shutdown”
object path “/com/ubuntu/Upstart/jobs/alsa_2drestore”
object path “/com/ubuntu/Upstart/jobs/cron”
object path “/com/ubuntu/Upstart/jobs/lightdm”
object path “/com/ubuntu/Upstart/jobs/mountall”
object path “/com/ubuntu/Upstart/jobs/mounted_2ddebugfs”
object path “/com/ubuntu/Upstart/jobs/console”
object path “/com/ubuntu/Upstart/jobs/mounted_2drun”
object path “/com/ubuntu/Upstart/jobs/acpid”
object path “/com/ubuntu/Upstart/jobs/bluetooth”
object path “/com/ubuntu/Upstart/jobs/plymouth_2dstop”
object path “/com/ubuntu/Upstart/jobs/rcS”
object path “/com/ubuntu/Upstart/jobs/ufw”
object path “/com/ubuntu/Upstart/jobs/wait_2dfor_2dstate”
object path “/com/ubuntu/Upstart/jobs/flush_2dearly_2djob_2dlog”
object path “/com/ubuntu/Upstart/jobs/friendly_2drecovery”
object path “/com/ubuntu/Upstart/jobs/rc_2dsysinit”
object path “/com/ubuntu/Upstart/jobs/ubiquity”
object path “/com/ubuntu/Upstart/jobs/cups”
object path “/com/ubuntu/Upstart/jobs/upstart_2dsocket_2dbridge”
object path “/com/ubuntu/Upstart/jobs/anacron”
object path “/com/ubuntu/Upstart/jobs/tty2”
object path “/com/ubuntu/Upstart/jobs/udevtrigger”
object path “/com/ubuntu/Upstart/jobs/container_2ddetect”
object path “/com/ubuntu/Upstart/jobs/mounted_2ddev”
object path “/com/ubuntu/Upstart/jobs/tty3”
object path “/com/ubuntu/Upstart/jobs/udev_2dfinish”
object path “/com/ubuntu/Upstart/jobs/cryptdisks_2dudev”
object path “/com/ubuntu/Upstart/jobs/hostname”
object path “/com/ubuntu/Upstart/jobs/mountall_2dreboot”
object path “/com/ubuntu/Upstart/jobs/mysql”
object path “/com/ubuntu/Upstart/jobs/mountall_2dshell”
object path “/com/ubuntu/Upstart/jobs/mounted_2dtmp”
object path “/com/ubuntu/Upstart/jobs/network_2dinterface”
object path “/com/ubuntu/Upstart/jobs/plymouth_2dsplash”
object path “/com/ubuntu/Upstart/jobs/plymouth_2dupstart_2dbridge”
object path “/com/ubuntu/Upstart/jobs/tty1”
object path “/com/ubuntu/Upstart/jobs/udevmonitor”
object path “/com/ubuntu/Upstart/jobs/cryptdisks_2denable”
object path “/com/ubuntu/Upstart/jobs/dmesg”
object path “/com/ubuntu/Upstart/jobs/network_2dinterface_2dsecurity”
object path “/com/ubuntu/Upstart/jobs/networking”
object path “/com/ubuntu/Upstart/jobs/procps”
object path “/com/ubuntu/Upstart/jobs/rfkill_2drestore”
object path “/com/ubuntu/Upstart/jobs/tty6”
object path “/com/ubuntu/Upstart/jobs/network_2dinterface_2dcontainer”
object path “/com/ubuntu/Upstart/jobs/ureadahead”
]
root@guadal-virtual-machine:~#

That’s all. Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>