Re: size of the inflated kernel

From: Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil)
Date: Tue Jan 11 2000 - 13:03:56 EST


T V Govind <govind@wipinfo.soft.net>:
> Is there some means to find out the size of the fully inflated kernel
> after system boot. i'm trying to strip down the kernel to have as many
> modules as loadable and need to know the actual memory used up by the
> kernel.

I think so - look at /usr/src/linux/vmlinux. I think this is the uncompressed
boot image. Also - when building the kernel there is a line that gives the
sizes (using the size command). I'm using 2.0.33 on a print server ant I get
the following:

bash$ cd /usr/src/linux
bash$ size vmlinux
text data bss dec hex filename
592030 64732 109293 766055 bb067 vmlinux
bash$ ls -l vmlinux
-rwxr-xr-x 1 root root 763072 Mar 6 1998 vmlinux

and the compressed image (in the root directory) is:

bash$ ls -l /vmlinuz
-rw-r--r-- 1 root root 318878 Mar 6 1998 /vmlinuz

-------------------------------------------------------------------------
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.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:18 EST