Re: [OT] Linux caches
- Posted by jbrown1050 at hotpop.com Jan 14, 2003
- 483 views
On Tue, Jan 14, 2003 at 01:03:19PM +1100, Patrick.Barnes at transgrid.com.au wrote: > > That helps a lot, thank you. > No problem. > >cache_dir ufs /var/cache/squid 100 16 256 > > I'm not sure what the significance of having subdirectories and subdirectories > > under that accomplishes... What is the purpose of having them? > Not really sure. Perhaps for organization or soemthing? > Also, which file in /proc would be the best one to look at for filesize > information, or what command will give the total size of a directory and > all it's contents? > Not sure where in /proc (which is Linux specific afaik, tho I'm probably wrong). "du -hs <dir>" gives the total size of a directory. "df -h" gives the total free space of all mounted filesystems, can give it a parameter to get it to show the free space for selected filesystems (like "df -h /tmp" to get free space for the filesystem where /tmp is located on). HTH. > >Nice, but long, Sig. Also, why doesnt everyone repesct the 80-col width > >standard? > >*sigh* > > My email wordwraps, so I don't notice. Ah ok, thanks for fix it. > > ====================== > ____<---------\__ > / ___<----------__|=== > || <---------/ > \_| Patrick Barnes > > (shorter sig) Yay! LOL. > <snip of old email text> jbrown > > > > TOPICA - Start your own email discussion group. FREE! -- /"\ ASCII ribbon \ / campain against X HTML e-mail and /*\ news and unneeded MIME