KGDB: list hung processes

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

 



Hi,

I have a linux-2.6.7 setup as a vmware machine connected to a linux
host over serial port for debug purpose.   I am trying to write a gdb
macro that will display the status of all the processes.  I want to
know if the process is waiting for some event then what that event is.
  This will help me identify the hung processes.

ps -l shows us the status of the process, with the name of wchan (wait
channel).  Is there any way to do this through a gdb macro.

Thanks
Amit

--
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