1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 09:35:28 +02:00

rtcwake: add page (#2098)

This commit is contained in:
Francesco Yoshi Gobbo 2018-05-10 06:50:41 +02:00 committed by Owen Voke
parent 8f0cf8c653
commit 52a8e635b5

27
pages/linux/rtcwake.md Normal file
View file

@ -0,0 +1,27 @@
# rtcwake
> Enter a system sleep state until specified wakeup time relative to your bios clock.
- Show whether an alarm is set or not:
`sudo rtcwake -m show -v`
- Suspend to ram and wakeup after 10 seconds:
`sudo rtcwake -m mem -s {{10}}`
- Suspend to disk (higher power saving) and wakeup 15 minutes later:
`sudo rtcwake -m disk --date +{{15}}min`
- Freeze the system (more efficent than suspend-to-ram but linux > 3.9 required) and wakeup at a given date and time:
`sudo rtcwake -m freeze --date {{YYYYMMDDhhmm}}`
- Disable a previously set alarm:
`sudo rtc -m disable`
- Perform a dry run to wakup the computer at a given time. (Press Ctrl + C to abort):
`sudo rtcwake -m on --date {{hh:ss}}`