The first execution of the "task_struct" structure from the crash prompt to dump its members heavily consumes memory and time.
Issue
- The first execution of the
task_structstructure from thecrashprompt to dump its members heavily consumes memory and time.
# echo "exit" | time -v crash -s
Command being timed: "crash -s"
User time (seconds): 24.84
System time (seconds): 0.73
Percent of CPU this job got: 100%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:25.49
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 406120
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 38839
Voluntary context switches: 539
Involuntary context switches: 72
Swaps: 0
File system inputs: 0
File system outputs: 280
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
# echo "task_struct" | time -v crash -s
----------8<----------8<----------8<---
Command exited with non-zero status 1
Command being timed: "crash -s"
User time (seconds): 48.98 <<<---
System time (seconds): 1.93
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:51.11 <<<---
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 1841420 <<<---
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 415185
Voluntary context switches: 553
Involuntary context switches: 241
Swaps: 0
File system inputs: 0
File system outputs: 296
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 1
Environment
- Red Hat Enterprise Linux release 9.0 (Plow)
- crash
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.