Hi... On Tue, Aug 3, 2010 at 00:47, Parmenides <mobile.parmenides@xxxxxxxxx> wrote: > Hi, > I am reading the linux kernel of version 2.6.11. I want to query a > kernel variable named max_low_pfn while the kernel running. Is there > any means to achieve the goal? thx Hi...once Robert Day and I discuss this kind of thing time ago. Try to use gdb, ie gdb /path/to/your/vmlinux /proc/kcore. Then use ...uhm...IIRC p <variable name> Beware that you need to rerun gdb (or something like that) to make sure gdb read latest value. And.....to make things easier, make sure you compile the kernel with debug symbol included. PS: Rob...your turn please? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ