CentOS/systemdでunit一覧を確認する方法
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(../)
* systemdでunit一覧を確認する方法 [#t58d4d9c]
systemdでunit一覧および起動しているunit一覧を表示するコマ...
使用したディストリビューションはCentOS 7になります。
#contents
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)
* 関連記事 [#oddf46fe]
-[[CentOS7でランレベルを変更する方法>CentOS/CentOS7でラン...
-[[chkconfigはsystemctlに変更>CentOS/chkconfigはsystemctl...
-[[systemdでunit一覧を確認する方法>CentOS/systemdでunit一...
-[[systemdのランレベル対応表>systemd/systemdのランレベル...
-[[systemdのserviceタイプ一覧を表示する方法>systemd/syste...
-[[systemdのサービスログを確認する方法・journalctl>system...
* systemdのunit一覧を表示する [#f87f448d]
以下のコマンドでsystemdのunit一覧を表示することができます。
systemctl list-unit-files
以下、実行例です。
$ systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount disabled
var-lib-nfs-rpc_pipefs.mount static
brandbot.path disabled
cups.path enabled
systemd-ask-password-console.path static
systemd-ask-password-plymouth.path static
systemd-ask-password-wall.path static
session-1.scope static
session-c1.scope static
abrt-ccpp.service enabled
abrt-oops.service enabled
abrt-pstoreoops.service disabled
abrt-vmcore.service enabled
abrt-xorg.service enabled
* 起動しているunit一覧を表示する方法 [#bf36b4f8]
以下のコマンドで起動しているunit一覧を表示することができ...
systemctl list-units
以下、実行例です。
$ systemctl list-units
UNIT ...
proc-sys-fs-binfmt_misc.automount ...
sys-devices-pci0000:...t1-target1:0:0-1:0:0:0-block-sr0....
sys-devices-pci0000:00-0000:00:03.0-net-enp0s3.device ...
sys-devices-pci0000:00-0000:00:08.0-net-enp0s8.device ...
sys-devices-pci0000:...rget2:0:0-2:0:0:0-block-sda-sda1....
sys-devices-pci0000:...rget2:0:0-2:0:0:0-block-sda-sda2....
sys-devices-pci0000:...t2-target2:0:0-2:0:0:0-block-sda....
sys-devices-platform-serial8250-tty-ttyS0.device ...
sys-devices-platform-serial8250-tty-ttyS1.device ...
sys-devices-platform-serial8250-tty-ttyS2.device ...
sys-devices-platform-serial8250-tty-ttyS3.device ...
sys-devices-virtual-block-dm\x2d0.device ...
sys-devices-virtual-block-dm\x2d1.device ...
sys-module-configfs.device ...
sys-subsystem-net-devices-enp0s3.device ...
sys-subsystem-net-devices-enp0s8.device ...
-.mount ...
boot.mount ...
以上、systemdのsystemctlコマンドを使ってunit一覧に関する...
#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)
終了行:
#navi(../)
* systemdでunit一覧を確認する方法 [#t58d4d9c]
systemdでunit一覧および起動しているunit一覧を表示するコマ...
使用したディストリビューションはCentOS 7になります。
#contents
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)
* 関連記事 [#oddf46fe]
-[[CentOS7でランレベルを変更する方法>CentOS/CentOS7でラン...
-[[chkconfigはsystemctlに変更>CentOS/chkconfigはsystemctl...
-[[systemdでunit一覧を確認する方法>CentOS/systemdでunit一...
-[[systemdのランレベル対応表>systemd/systemdのランレベル...
-[[systemdのserviceタイプ一覧を表示する方法>systemd/syste...
-[[systemdのサービスログを確認する方法・journalctl>system...
* systemdのunit一覧を表示する [#f87f448d]
以下のコマンドでsystemdのunit一覧を表示することができます。
systemctl list-unit-files
以下、実行例です。
$ systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount disabled
var-lib-nfs-rpc_pipefs.mount static
brandbot.path disabled
cups.path enabled
systemd-ask-password-console.path static
systemd-ask-password-plymouth.path static
systemd-ask-password-wall.path static
session-1.scope static
session-c1.scope static
abrt-ccpp.service enabled
abrt-oops.service enabled
abrt-pstoreoops.service disabled
abrt-vmcore.service enabled
abrt-xorg.service enabled
* 起動しているunit一覧を表示する方法 [#bf36b4f8]
以下のコマンドで起動しているunit一覧を表示することができ...
systemctl list-units
以下、実行例です。
$ systemctl list-units
UNIT ...
proc-sys-fs-binfmt_misc.automount ...
sys-devices-pci0000:...t1-target1:0:0-1:0:0:0-block-sr0....
sys-devices-pci0000:00-0000:00:03.0-net-enp0s3.device ...
sys-devices-pci0000:00-0000:00:08.0-net-enp0s8.device ...
sys-devices-pci0000:...rget2:0:0-2:0:0:0-block-sda-sda1....
sys-devices-pci0000:...rget2:0:0-2:0:0:0-block-sda-sda2....
sys-devices-pci0000:...t2-target2:0:0-2:0:0:0-block-sda....
sys-devices-platform-serial8250-tty-ttyS0.device ...
sys-devices-platform-serial8250-tty-ttyS1.device ...
sys-devices-platform-serial8250-tty-ttyS2.device ...
sys-devices-platform-serial8250-tty-ttyS3.device ...
sys-devices-virtual-block-dm\x2d0.device ...
sys-devices-virtual-block-dm\x2d1.device ...
sys-module-configfs.device ...
sys-subsystem-net-devices-enp0s3.device ...
sys-subsystem-net-devices-enp0s8.device ...
-.mount ...
boot.mount ...
以上、systemdのsystemctlコマンドを使ってunit一覧に関する...
#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)
ページ名: