Linux: crash: 如何查看cpu的使用情况?

https://support.hpe.com/hpesc/public/docDisplay?docId=mmr_kc-0104285
从网上找到这个链接
说这个vmcore是对内存的一个dump;
Redhat提供的回复也说,不能从crash里dump cpu的usage;

FIX:
Red Hat informed that it is impossible to fullfill this request because a vmcore is a kernel memory image which is captured for further analysis after a system has crashed. It contains information about how the memory structures were used by the kernel and contains information one can find in the /proc pseudo filesystem. The CPU usage per process is not included in /proc and it is computed by tools from the procps rpm package, so it is currently not possible to get applications cpu usage statistics in a vmcore.

如果真的需要计算,就得自己在crash里写脚本,每个task做统计。比较麻烦。

猜你喜欢

转载自blog.csdn.net/qq_36428903/article/details/131515196