“/proc/$pid/latency”文件的作用是什么?

What is the effect of "/proc/$pid/latency" file?

我发现我的 SuSE Enterprise Linux 12 上有一个 /proc/$pid/latency 文件。例如:

# cat /proc/1476/latency
Latency Top version : v0.1

但是从proc manual, I can't find any info about this /proc/$pid/latency file. After googling, I just find this old page, and http://www.latencytop.org/现在打不开了。

所以我的问题是 /proc/$pid/latency 文件的作用是什么?只显示 Latency Top version?由于http://www.latencytop.org/现在坏了,Latency Top的状态如何?

fs/proc 上的快速 grep 揭示了如何启用这个东西 - sysctl kernel.latencytop=1。之后您可以使用 latencytop 检查结果。

虽然看起来确实很死。