On Sat, Jul 19, 2003 at 11:08:17AM +1000, Keith Owens wrote:
> On Fri, 18 Jul 2003 19:40:37 -0500, 
> [EMAIL PROTECTED] wrote:
> >I'm vaguely daydreaming about a few KDB enhancements, I was curious if 
> >you've thought about them:
> >
> >-- 'cat /proc/meminfo'  Turns out one bug I was chasing was OOM on
> >   a machine with 32GB of RAM (!) and it took me days to even think
> >   of looking there.
> 
> 'sr m', same as sysrq-m.

Let me rephrase that:

1) sr m is broken in my version, (Its silent) don't know why. 
   Hmm ... sr anything is silent (but/and error-free).

2) there's other /proc structures that are human readable and are 
   interesting to look at during crash, e.g. /proc/pci, some stuff 
   in /proc/ppc64

> I have considered a generic facility like gdb, based off stabs or dwarf
> but decided against it for now.  

Yeah, I've played with stabs, its a lot of work, time I don't have now.

> kdb has various commands for dumping structures including vm data, see
> all the code in kdb/modules.  Recent versions of kdb added a 'task'
> command for dumping and decoding struct task.  Another good reason to
> upate ppc64 to kdb v4.3 :).

Hmm, I suspected as much, which is why I asked ... 

--linas

Reply via email to