lkml.org 
[lkml]   [2002]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Query on code space and data space !
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.044 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site