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.
我正在使用 Unicorn 运行 Ruby on Rails 应用程序。我们将服务器配置为运行三个工作人员,但是当我用 htop 查看它时,我看到三个工作人员的样子,然后,他们每个人都有几个子进程,或者他们是线程?这是怎么回事?这些是什么?
这些进程很可能是线程。要确定哪些是线程,哪些是子进程,请转到 htop settings:F2 -> Display options和 disableHide userland threads或 toggle Display threads in a different color。
F2 -> Display options
Hide userland threads
Display threads in a different color