ons 2003-07-02 klockan 09.28 skrev atit jariwala:
> I want total memory utilization by squid excluding binary size.
> what will be the mathamatical equation for it....
I think the closest fit is:
data segment + total space in arena + holding blocks + stack size.
total space in arena == sbrk size of the process
holding blocks == memory areas allocated via mmap outside of sbrk
both the sbrk and mmap areas are maintained by the OS malloc()
implementation, outside the implementation of the application.
but it depends on what it is you are actually after. The equation above
gives how much memory besides the binary pages your OS needs to allocate
to run the application, not how much memory the application uses.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Wed Jul 02 2003 - 07:35:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:15 MST