3

I am looking into a crash dump for RHEL 7.4. It shows some of the task status as PA. for the command - crash> ps | grep sample

 - 31718  31717   3  ffff8806873a6eb0  **PA**   0.0   42260   8040  sample  
 - 32027  32025   3  ffff880462cf1fa0  **PA**   0.0   42260   8036  sample
 - 32148  32146   5  ffff88081b75eeb0  **PA**   0.0   42260   8036  sample
 - 32620  32618   0  ffff8802b1469fa0  **PA**   0.0   42260   8036  sample

None of the help pages talk about the details of this task status.

  • can anyone tell me what PA refers as the status of task?
  • any link or details about all the process status mentioned in crash utility?
crash> help ps |grep PA

 - the task state (RU, IN, UN, ZO, ST, TR, DE, SW, WA, PA).**
0

The state refers to parked state. This state is valid only for the kernels between 3.9 to 3.13. As per man page:

state  %c
                    One of the following characters, indicating process
                    state:

                    R  Running

                    S  Sleeping in an interruptible wait

                    D  Waiting in uninterruptible disk sleep

                    Z  Zombie

                    T  Stopped (on a signal) or (before Linux 2.6.33)
                       trace stopped

                    t  Tracing stop (Linux 2.6.33 onward)

                    W  Paging (only before Linux 2.6.0)

                    X  Dead (from Linux 2.6.0 onward)

                    x  Dead (Linux 2.6.33 to 3.13 only)

                    K  Wakekill (Linux 2.6.33 to 3.13 only)

                    W  Waking (Linux 2.6.33 to 3.13 only)

                    P  Parked (Linux 3.9 to 3.13 only)

This state also referred as Uninterruptible Sleep. Refer this link for more details.

  • Do you have any idea what the difference from "D" is and why that state was introduced and shortly afterwards retired? – pizdelect May 30 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.