Ubuntuで各ジョブの状態一覧を表示する方法・initctl †SysVinitからUpstartに変更され、ジョブの一覧を確認する場合、initctlコマンドを使用すると便利です。 initctl listを実行してみる †initctlコマンドにlist引数をつけて実行すると、各ジョブの状態一覧が表示されます。 initctl list 以下、実際にinitctl listコマンドを実行したときの出力です。 sakura@ubuntu:~$ initctl list mountall-net stop/waiting passwd stop/waiting rc stop/waiting rsyslog start/running, process 428 screen-cleanup stop/waiting tty4 start/running, process 903 udev start/running, process 349 upstart-udev-bridge start/running, process 342 ureadahead-other stop/waiting whoopsie start/running, process 959 apport start/running console-setup stop/waiting hwclock-save stop/waiting irqbalance stop/waiting plymouth-log stop/waiting tty5 start/running, process 910 failsafe stop/waiting <snip> plymouth-splash stop/waiting plymouth-upstart-bridge stop/waiting tty1 start/running, process 988 udevmonitor stop/waiting dmesg stop/waiting network-interface-security (network-interface/eth1) 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 tty6 start/running, process 923 network-interface-container stop/waiting ureadahead stop/waiting 以上、initctlコマンドによる各ジョブの状態一覧を確認する方法でした。 |