info > rtcwake(8)

💡 NAME

rtcwake – enter a system sleep state until specified wakeup time

🚀 Quick Reference

Use CaseCommandDescription
💤 Suspend to RAM (S3) with 5-minute wakeup rtcwake -m mem -s 300 Enter S3 sleep and wake after 300 seconds
⏰ Set wakeup at a specific absolute time rtcwake -m standby -t $(date +%s -d '08:00') Wake at 8:00 AM today (using date conversion)
💿 Suspend to disk (S4) for 1 hour rtcwake -m disk -s 3600 Hibernate and wake after 3600 seconds
🚫 Set alarm without suspending rtcwake -m no -s 600 Only set the RTC alarm, do not suspend
🔍 Show current alarm status rtcwake -m show Display alarm state (on/off) and time
🚫 Disable a previously set alarm rtcwake -m disable Clear the RTC alarm

📋 SYNOPSIS

rtcwake [options] [-d device] [-m standby_mode] {-s seconds|-t time_t}

📝 DESCRIPTION

This program is used to enter a system sleep state and to automatically wake from it at a specified time.

This uses cross-platform Linux interfaces to enter a system sleep state, and leave it no later than a specified time. It uses any RTC framework driver that supports standard driver model wakeup flags.

This is normally used like the old apmsleep utility, to wake from a suspend state like ACPI S1 (standby) or S3 (suspend-to-RAM). Most platforms can implement those without analogues of BIOS, APM, or ACPI.

On some systems, this can also be used like nvram-wakeup, waking from states like ACPI S4 (suspend to disk). Not all systems have persistent media that are appropriate for such suspend modes.

Note that alarm functionality depends on hardware; not every RTC is able to setup an alarm up to 24 hours in the future.

The suspend setup may be interrupted by active hardware; for example wireless USB input devices that continue to send events for some fraction of a second after the return key is pressed. rtcwake tries to avoid this problem and it waits to terminal to settle down before entering a system sleep.

⚙️ OPTIONS

📝 NOTES

Some PC systems can’t currently exit sleep states such as mem using only the kernel code accessed by this driver. They need help from userspace code to make the framebuffer work again.

📁 FILES

/etc/adjtime

📜 HISTORY

The program was posted several times on LKML and other lists before appearing in kernel commit message for Linux 2.6 in the GIT commit 87ac84f42a7a580d0dd72ae31d6a5eb4bfe04c6d.

👤 AUTHORS

The program was written by David Brownell <dbrownell AT users.net> and improved by Bernhard Walle <bwalle AT suse.de>.

©️ COPYRIGHT

This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.

👁️ SEE ALSO

🐛 REPORTING BUGS

For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.

📦 AVAILABILITY

The rtcwake command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.

rtcwake(8)
💡 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION ⚙️ OPTIONS 📝 NOTES 📁 FILES 📜 HISTORY 👤 AUTHORS ©️ COPYRIGHT 👁️ SEE ALSO 🐛 REPORTING BUGS 📦 AVAILABILITY

Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-08 01:15 @216.73.216.216
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format