LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-20-2005, 01:33 AM   #1
zovres
Member
 
Registered: Sep 2002
Posts: 184

Rep: Reputation: 30
view squid's cache content


when I cd to /var/spool/squid I see all kinds of weird files that are not viewable. So I was just wondering if their was any way to view what my server is caching?

Any help appreciated

Ben
 
Old 11-20-2005, 06:59 AM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
I believe there should be an access.log file somewhere, with all the in-cache objects listed...

Alternatively, you could install the Cache Manager; it's a CGI script that lets you view
the cache stats in a web browser. The FAQ at the Squid website describes how to install it and how to adjust the squid configuration so you have clearance to connect to it.

Hope this helps.
nukkel
 
Old 11-20-2005, 08:39 AM   #3
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Depending on your install, it should log to /usr/local/squid/var/log/cache.log or similar which details each object being held in the cache. Or, as previously suggested, the cache manager scripts lets you browse through a web interface the stats and number / type of objects cached.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Aplication used to view fat32 drives content Born_dead Linux - Software 2 10-03-2005 04:14 AM
plug in and view content of flash mp3 player Infernal211283 Linux - Newbie 5 04-11-2005 02:58 PM
view ISO images content.. JoannesX Linux - General 2 02-19-2005 06:28 AM
Way to view quiz content? frob23 LQ Suggestions & Feedback 4 01-16-2005 03:03 AM
I have a cache directory, I am not sure if that is squid's cache directory Niceman2005 Linux - Software 1 11-26-2004 02:46 AM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration