Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use linux's apmsleep command to enter pause or standby mode and wake up later

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux apmsleep command to enter pause or standby mode, wake up later, the article is very detailed, has a certain reference value, interested friends must finish!

The apmsleep command is to put the computer into a standby or repair state. Some computers, especially laptops, can use real-time clock (RTC) chips to wake up from low-power pause mode to DRAM mode. Apmsleep can be used to set the alarm time in RTC and enter pause or standby mode. An interruption from RTC caused the computer to wake up. The program detects this event by waiting for a transition in kernel time and terminates successfully. If no time transition occurs within one minute, or if an error occurs, the exit value will be non-zero.

Syntax format: apmsleep [parameters]

Common parameters:

Reference example

Enter dormancy for 2 hours and 50 minutes:

[root@linuxcool ~] # apmsleep + 2:50

Dormant before 9:00 the next day:

[root@linuxcool ~] # apmsleep 9:00

Enter the standby 2 hours and 50 minutes:

[root@linuxcool ~] # apmsleep-S + 2:50

Stand by by 9:00 the next day:

[root@linuxcool ~] # apmsleep-S 9:00

Output information about tasks in progress:

[root@linuxcool ~] # apmsleep-d above is to enter pause or standby mode using the apmsleep command of linux. All the content that will be awakened later, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report