systemd/systemdのserviceタイプ一覧を表示する方法
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(../)
* systemdのserviceタイプ一覧を表示する方法 [#vee8d244]
systemdのservice一覧を確認するコマンドを以下に記します。
#contents
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)
* 関連記事 [#kc2f5caa]
-[[CentOS7でランレベルを変更する方法>CentOS/CentOS7でラン...
-[[chkconfigはsystemctlに変更>CentOS/chkconfigはsystemctl...
-[[systemdでunit一覧を確認する方法>CentOS/systemdでunit一...
-[[systemdのランレベル対応表>systemd/systemdのランレベル...
-[[systemdのserviceタイプ一覧を表示する方法>systemd/syste...
-[[systemdのサービスログを確認する方法・journalctl>system...
* serviceタイプ一覧を表示 [#a9fd1eae]
すべてのサービスタイプ一覧を表示するには以下のコマンドを...
systemctl list-unit-files -t service
上記コマンドの実行結果例を記します。
$ systemctl list-unit-files -t service
UNIT FILE STATE
abrt-ccpp.service enabled
abrt-oops.service enabled
abrt-pstoreoops.service disabled
abrt-vmcore.service enabled
abrt-xorg.service enabled
abrtd.service enabled
accounts-daemon.service enabled
alsa-restore.service static
alsa-state.service static
alsa-store.service static
anaconda-direct.service static
anaconda-nm-config.service static
anaconda-noshell.service static
<snip>
** device unitの一覧表示 [#v9b5cf80]
device unitの一覧表示をする場合は以下のコマンドを実行しま...
systemctl list-units -t device -l
上記コマンドの実行結果例を記します。
$ systemctl list-units -t device -l
UNIT
sys-devices-pci0000:00-0000:00:01.1-ata3-host2-target2:0...
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:00-0000:00:0d.0-ata1-host0-target0:0...
sys-devices-pci0000:00-0000:00:0d.0-ata1-host0-target0:0...
sys-devices-pci0000:00-0000:00:0d.0-ata1-host0-target0:0...
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
<snip>
** mount unitの一覧表示 [#ef7733f9]
mount unitの一覧表示をする場合は以下のコマンドを実行しま...
systemctl list-units -t mount
上記コマンドの実行結果例を記します。
$ systemctl list-units -t mount
UNIT LOAD ACTIVE SUB DESCR...
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge ...
dev-mqueue.mount loaded active mounted POSIX...
proc-fs-nfsd.mount loaded active mounted NFSD ...
sys-kernel-config.mount loaded active mounted Confi...
sys-kernel-debug.mount loaded active mounted Debug...
var-lib-nfs-rpc_pipefs.mount loaded active mounted RPC P...
<snip>
** swap unitの一覧表示をする場合は以下のコマンドを実行し...
systemctl list-units -t swap
上記コマンドの実行結果例を記します。
$ systemctl list-units -t swap
UNIT LOAD ACTIVE SUB DESCRIPTION
dev-dm\x2d0.swap loaded active active /dev/dm-0
LOAD = Reflects whether the unit definition was proper...
ACTIVE = The high-level unit activation state, i.e. gene...
SUB = The low-level unit activation state, values dep...
1 loaded units listed. Pass --all to see loaded but inac...
To show all installed unit files use 'systemctl list-uni...
以上、systemdのservice unit一覧を確認する方法でした。
#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)
終了行:
#navi(../)
* systemdのserviceタイプ一覧を表示する方法 [#vee8d244]
systemdのservice一覧を確認するコマンドを以下に記します。
#contents
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)
* 関連記事 [#kc2f5caa]
-[[CentOS7でランレベルを変更する方法>CentOS/CentOS7でラン...
-[[chkconfigはsystemctlに変更>CentOS/chkconfigはsystemctl...
-[[systemdでunit一覧を確認する方法>CentOS/systemdでunit一...
-[[systemdのランレベル対応表>systemd/systemdのランレベル...
-[[systemdのserviceタイプ一覧を表示する方法>systemd/syste...
-[[systemdのサービスログを確認する方法・journalctl>system...
* serviceタイプ一覧を表示 [#a9fd1eae]
すべてのサービスタイプ一覧を表示するには以下のコマンドを...
systemctl list-unit-files -t service
上記コマンドの実行結果例を記します。
$ systemctl list-unit-files -t service
UNIT FILE STATE
abrt-ccpp.service enabled
abrt-oops.service enabled
abrt-pstoreoops.service disabled
abrt-vmcore.service enabled
abrt-xorg.service enabled
abrtd.service enabled
accounts-daemon.service enabled
alsa-restore.service static
alsa-state.service static
alsa-store.service static
anaconda-direct.service static
anaconda-nm-config.service static
anaconda-noshell.service static
<snip>
** device unitの一覧表示 [#v9b5cf80]
device unitの一覧表示をする場合は以下のコマンドを実行しま...
systemctl list-units -t device -l
上記コマンドの実行結果例を記します。
$ systemctl list-units -t device -l
UNIT
sys-devices-pci0000:00-0000:00:01.1-ata3-host2-target2:0...
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:00-0000:00:0d.0-ata1-host0-target0:0...
sys-devices-pci0000:00-0000:00:0d.0-ata1-host0-target0:0...
sys-devices-pci0000:00-0000:00:0d.0-ata1-host0-target0:0...
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
<snip>
** mount unitの一覧表示 [#ef7733f9]
mount unitの一覧表示をする場合は以下のコマンドを実行しま...
systemctl list-units -t mount
上記コマンドの実行結果例を記します。
$ systemctl list-units -t mount
UNIT LOAD ACTIVE SUB DESCR...
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge ...
dev-mqueue.mount loaded active mounted POSIX...
proc-fs-nfsd.mount loaded active mounted NFSD ...
sys-kernel-config.mount loaded active mounted Confi...
sys-kernel-debug.mount loaded active mounted Debug...
var-lib-nfs-rpc_pipefs.mount loaded active mounted RPC P...
<snip>
** swap unitの一覧表示をする場合は以下のコマンドを実行し...
systemctl list-units -t swap
上記コマンドの実行結果例を記します。
$ systemctl list-units -t swap
UNIT LOAD ACTIVE SUB DESCRIPTION
dev-dm\x2d0.swap loaded active active /dev/dm-0
LOAD = Reflects whether the unit definition was proper...
ACTIVE = The high-level unit activation state, i.e. gene...
SUB = The low-level unit activation state, values dep...
1 loaded units listed. Pass --all to see loaded but inac...
To show all installed unit files use 'systemctl list-uni...
以上、systemdのservice unit一覧を確認する方法でした。
#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)
ページ名: