両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:commands:service [2025/04/17 09:56] – [シャットダウン、サスペンド、休止状態] ともやん | linux:commands:service [2025/04/19 15:36] (現在) – [シャットダウン、サスペンド、休止状態] ともやん |
---|
</pre></html></WRAP> | システムの電源を切る (ログインユーザーに通知しない) | | </pre></html></WRAP> | システムの電源を切る (ログインユーザーに通知しない) | |
| <WRAP color_command><html><pre> | | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">shutdown</font> <font color="#A347BA">--poweroff</font> 07:21 | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">shutdown</font> <font color="#A347BA">--poweroff</font> <a href="https://youtu.be/UhNDc-HwjFo?si=0l0YUuOn4zdYErlp">07:21</a> |
</pre></html></WRAP> | 指定時間にシステムの電源を切る | | </pre></html></WRAP> | システムの電源を切る (指定時間に) | |
| <WRAP color_command><html><pre> | | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">systemctl</font> suspend | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">systemctl</font> suspend |
| <WRAP color_command><html><pre> | | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font><font color="#999999"> </font><font color="#26A269">systemctl</font> hibernate | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font><font color="#999999"> </font><font color="#26A269">systemctl</font> hibernate |
</pre></html></WRAP> | システムをハイバネート(システム状態はディスクドライブに保存)する | | </pre></html></WRAP> | システムをハイバネート(システム状態はディスクに保存)する | |
| <WRAP color_command><html><pre> | | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">systemctl</font> hybrid-sleep | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">systemctl</font> hybrid-sleep |
</pre></html></WRAP> | システムをハイブリッドスリープ(一定期間でサスペンドからハイバネートへ移行)する | | </pre></html></WRAP> | システムをハイブリッドスリープ(システム状態は RAM とディスクに保存、一定期間でサスペンドからハイバネートへ移行)する | |
| <WRAP color_command><html><pre> | | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">systemctl</font> suspend-then-hibernate | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">systemctl</font> suspend-then-hibernate |
[[rhdoc>ja/documentation/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/shutting-down-suspending-and-hibernating-the-system_managing-systemd#changing-the-power-button-behavior-in-gnome_changing-the-power-button-behavior|12.4. システムのシャットダウン、サスペンド、およびハイバネート | Red Hat Product Documentation]]\\ | [[rhdoc>ja/documentation/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/shutting-down-suspending-and-hibernating-the-system_managing-systemd#changing-the-power-button-behavior-in-gnome_changing-the-power-button-behavior|12.4. システムのシャットダウン、サスペンド、およびハイバネート | Red Hat Product Documentation]]\\ |
[[arc>Systemd#.E9.9B.BB.E6.BA.90.E7.AE.A1.E7.90.86|systemd - ArchWiki - systemd - ArchWiki]]\\ | [[arc>Systemd#.E9.9B.BB.E6.BA.90.E7.AE.A1.E7.90.86|systemd - ArchWiki - systemd - ArchWiki]]\\ |
| [[arc>%E9%9B%BB%E6%BA%90%E7%AE%A1%E7%90%86/%E3%82%B5%E3%82%B9%E3%83%9A%E3%83%B3%E3%83%89%E3%81%A8%E3%83%8F%E3%82%A4%E3%83%90%E3%83%8D%E3%83%BC%E3%83%88#.E9.AB.98.E3.83.AC.E3.83.99.E3.83.AB.E3.82.A4.E3.83.B3.E3.82.BF.E3.83.BC.E3.83.95.E3.82.A7.E3.82.A4.E3.82.B9_.28systemd.29|電源管理/サスペンドとハイバネート - ArchWiki]]\\ |
| |