目前正在阅读 /var/log/messages,我可以看到:
*systemd-logind: Watching power buttons on /dev/input/event0 (Power Button)*
*systemd-logind: Watching power buttons on /dev/input/event1 (Sleep Button)*
这些条目在 RHEL 系统上意味着什么?
最佳答案
那些只是意味着 systemd-logind服务检测到硬件电源和 sleep 按钮,并正在观察是否按下了其中一个。如果按下它们,那么 systemd-logind 将处理要执行的操作。
来自文档:
systemd-logind is a system service that manages user logins. It is responsible for:
...snip...
* Handling of power/sleep hardware keys
...snip...
关于linux - 在/var/log/messages中,: Watching system buttons [.是什么..] Power Button,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52517184/