Linux: crash: how to check cpu usage?

https://support.hpe.com/hpesc/public/docDisplay?docId=mmr_kc-0104285
I found this link from the Internet,
saying that this vmcore is a dump of the memory;
the reply provided by Redhat also said that the dump of the CPU cannot be obtained from the crash 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.

If you really need to calculate, you have to write scripts in crash by yourself, and do statistics for each task. kind of hard.

Guess you like

Origin blog.csdn.net/qq_36428903/article/details/131515196