Query on code space and data space !
Hi all :
I'm using a linux box running RH7.3 (kernel 2.4.18-3). I've inserted one kernel module and I need information on how much code space and data space my module has consumed.
Is there any way to know these statistics ? Doing a cat /proc/<process ID>/status (or stat or statm) showed some information. But I'm not very clear.
Any pointers in this regard are highly appreciated.
Thanks,
Parthi.
--
http://san.hcltech.com
www.hcltechnologies.com
Thx,
Parthi.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Quoted 7 lines · Parthiban M
Hi all :
I'm using a linux box running RH7.3 (kernel 2.4.18-3). I've inserted one kernel module and I need information on how much code space and data space my module has consumed.
Quoted 5 lines
Is there any way to know these statistics ? Doing a cat /proc/<process ID>/status (or stat or statm) showed some information. But I'm not very clear.
Any pointers in this regard are highly appreciated.
I think you really want /proc/modules.... though it doesn't distinguish between code space and data space. At this level of the kernel there isn't any difference.
Quoted 2 lines
Thanks,
Parthi.
Signature · 5 lines
------------------------------------------------------------------------- Jesse I Pollard, II Email: [email protected] Any opinions expressed are solely my own.