简体   繁体   English

Linux:僵局进程如何看待顶部?

[英]Linux: how does deadlocked process look in top?

它是否会在列表的底部,因为它很可能会被阻塞等待一些系统资源?

It depends on the way deadlocked processes are blocked. 这取决于死锁进程被阻止的方式。

Suppose they are blocked on a spin lock, then they might show up in the first lines of top output. 假设它们在旋转锁定时被阻止,那么它们可能会出现在顶部输出的第一行。

On the other hand, if processes are sleeping waiting (forever) for a resource, then it's likely they won't appear in the first lines of top output 另一方面,如果进程正在等待(永久)资源,那么很可能它们不会出现在最高输出的第一行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM