Re: Query on code space and data space !

From: Jesse Pollard (pollard@admin.navo.hpc.mil)
Date: Fri Sep 13 2002 - 09:57:33 EST


On Friday 13 September 2002 09:23 am, Parthiban M wrote:
> 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.

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.

> Thanks,
> Parthi.

-- 
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:33 EST