782 B
782 B
title, type, tags, date
| title | type | tags | date | |||
|---|---|---|---|---|---|---|
| 休眠 (Hibernate) | concept |
|
2026-04-17 |
Aliases
- hibernate
Definition
Linux 系统电源状态之一,将内存中的数据写入磁盘后完全断电,下次启动时从磁盘恢复数据。
Key Properties
- 与 待机 (Suspend) 的区别:休眠完全断电,待机保持内存供电
- 系统完全停止运行,不耗电
- 唤醒时间较长(需要从磁盘加载数据)
Related Commands
systemctl hibernate:手动进入休眠systemctl mask hibernate.target:禁用休眠功能
Use Cases
- 长时间不使用笔记本时
- 需要携带笔记本外出时
- 服务器场景:通常禁用休眠以保持服务运行
Connections
- control_by → systemd-logind