Accessing process descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

How do I access the process descriptor for
a process in kdb (or gdb)?

When in kdb, by typing ps I get a list of
processes with pid and hex address associated
with each process.  Is this address the starting
address for the process descriptor?

Assumming that I found the starting address
of a process descriptor, to get to the individual
field, I would need to hand compute the size of
all the structs before that field to finally derived
the offset to that field, right.  Is there a better
way?

Many thanks in advance.

- Nguyen

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux