lkml.org 
[lkml]   [2001]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
On Sat, 21 Apr 2001, gis88530 wrote:

> I want to calculate the total memory usage of kernel.
> I wonder that we just need to add these(*1) in slabinfo or
> we need to add each line(*1 and *2) in slabinfo. Thanks.
> AND
> I know the size of size-512 is 512 bytes, but I want to know
> the size of tcp_tw_bucket, tcp_open_request, etc.
> How can I find out this answer? Thanks a lot.


> size-4096 8 12

1) you want to use only the values from the second column

2) the sizes of the structures you want to know are somewhere
in the kernel header files, grep should be able to find them

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/

-
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:17    [W:0.055 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site