Hi Alex,
I need the data of parent ipcache to be passed on to child. There will be an application that will be spawning on the child process which will pick this data (we need it for some other purpose).
It is for this reason that I need the data. I will not be able to run the squidclient and might have to use the internal APIs to make the call directly in the parent squid which is why I am looking for someone to give me an insight on how this ipcache stats collection works through squidclient.
Thanks.
Regards,
Anita
-----Original Message-----
From: Alex Rousskov [mailto:rousskov_at_measurement-factory.com]
Sent: 26 April 2012 21:30
To: Anita Sivakumar (WT01 - GMT-Telecom Equipment)
Cc: squid-dev_at_squid-cache.org
Subject: Re: Store client API
On 04/25/2012 02:18 AM, anita wrote:
> I would need help in understanding how the store/store_client classes work.
> I am looking for reading the ipcache and dumping its contents into a file.
Hello Anita,
Can you use a Cache Manager request (mgr:ipcache) to request ipcache
information over HTTP using tools such as squidclient, curl, or wget?
For example,
$ ./bin/squidclient mgr:ipcache > /tmp/ipcache.out
The store client API is mostly for reading/receiving cached entries. It
is probably not what you are looking for.
Good luck,
Alex.
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Received on Fri Apr 27 2012 - 02:22:15 MDT
This archive was generated by hypermail 2.2.0 : Fri Apr 27 2012 - 12:00:07 MDT