Files
nexus/wiki/concepts/休眠-Hibernate.md
2026-04-17 08:38:12 +08:00

782 B

title, type, tags, date
title type tags date
休眠 (Hibernate) concept
systemd
power-management
linux
2026-04-17

Aliases

  • hibernate

Definition

Linux 系统电源状态之一,将内存中的数据写入磁盘后完全断电,下次启动时从磁盘恢复数据。

Key Properties

  • 待机 (Suspend) 的区别:休眠完全断电,待机保持内存供电
  • 系统完全停止运行,不耗电
  • 唤醒时间较长(需要从磁盘加载数据)
  • systemctl hibernate:手动进入休眠
  • systemctl mask hibernate.target:禁用休眠功能

Use Cases

  • 长时间不使用笔记本时
  • 需要携带笔记本外出时
  • 服务器场景:通常禁用休眠以保持服务运行

Connections