Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我按照推荐()尝试了udev udevadm monitor。VGA-Plug 大约在 两秒钟。如果我轮询它,几乎会立即报告更改。这里会发生什么?
udevadm monitor
如果轮询是恒定的,则会浪费大量的 CPU 时间,并且事件时间在日志输出中会出现偏差。当您手动轮询时,它会立即发生,不会超时。