I've been using kdb to debug several kernel drivers that I have been working
on and it has proven very useful and reliable. I do have a problem I'm
facing now, that I suspect is a memory leak consuming all of swap space over
time. The system is stopped in kdb, and I want to be able to find how much
memory each process has consumed. I don't want to have to restart the
system under test because it takes about 5 days to reproduce the problem.
Is there an option to the 'ps' function to do this? Do I have to decompose
the process structures by hand?
(I wish I had been running 'top' during the test to give me more info. :-)
Please copy me on replies, since I am not subscribed to the list.
TIA,
Andy
Andy Cress 803-461-6106
Senior Software Engineer fax:803-461-6292
Intel Corporation, Columbia Design Center, CBA2
Synergy Business Park, 250 Berryhill Rd, Suite 100, Columbia, SC 29210-6470
"Do not merely look out for your own personal interests, but also for the
interests of others." Phil 2:4
|