gpt4 book ai didi

unix - 为什么我使用 ps 看不到 PID 为 0 的进程?

转载 作者:行者123 更新时间:2023-12-01 05:41:52 27 4
gpt4 key购买 nike

我知道进程 0 是 UNIX 中负责进程调度的交换进程,但为什么我使用 ps -ef 看不到它?我怎样才能看到它?

最佳答案

您看不到 pid 0,因为您正在使用的系统上不存在 pid 0。

关于unix - 为什么我使用 ps 看不到 PID 为 0 的进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8493809/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com