ps/vm commands print the bogus value of the %MEM and RSS.

Solution In Progress - Updated -

Issue

  • ps/vm commands print the bogus value of the %MEM and RSS while analyzing vmcore using crash utility.

  • The 'ps' and 'vm' commands print the bogus value of the %MEM and RSS. Example:

crash> ps 1393
   PID    PPID  CPU       TASK        ST  %MEM              VSZ  RSS                COMM
   1393      1  24  ffff9584bb542100  RU  541298032135.9    4132 18014398509481908  enlinuxpc64
                                          ^^^^^^^^^^^^^^         ^^^^^^^^^^^^^^^^^  

crash> vm 1393
PID: 1393   TASK: ffff9584bb542100  CPU: 24  COMMAND: "enlinuxpc64"
       MM               PGD          RSS                 TOTAL_VM
ffff9574bd5bb200  ffff9574bf78a000  18014398509481908k   4132k
                                    ^^^^^^^^^^^^^^^^^^  

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • crash-8.0.1-2.el9.x86_64 and below.
  • crash-7.3.2-2.el8.x86_64 and below.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content