agusneos / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

'f' letter in place of time statistics in squidclient #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Chudy,

I am using the following on icore3 intel board:

$squid -v
Squid Cache: Version LUSCA r14829 patched: chudy r14
configure options:  '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' 
'--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' 
'--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' 
'--enable-removal-policies=lru heap' '--disable-linux-netfilter' 
'--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm digest' 
'--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB LDAP SASL YP' 
'--enable-digest-auth-helpers=password ldap' 
'--enable-external-acl-helpers=ip_user session unix_group wbinfo_group 
ldap_group' '--enable-ntlm-auth-helpers=SMB' '--with-pthreads' 
'--enable-storeio=aufs null coss' '--enable-delay-pools' '--enable-snmp' 
'--disable-wccp' '--disable-ident-lookups' '--enable-arp-acl' 
'--enable-pf-transparent' '--with-large-files' '--enable-large-cache-files' 
'--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech Danish  
Dutch English Estonian Finnish French German Greek  Hebrew Hungarian Italian 
Japanese Korean Lithuanian  Polish Portuguese Romanian Russian-1251 
Russian-koi8-r  Serbian Simplify_Chinese Slovak Spanish Swedish  
Traditional_Chinese Turkish' '--enable-default-err-language=English' 
'--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' 
'--build=i386-portbld-freebsd8.0' 'build_alias=i386-portbld-freebsd8.0' 'CC=cc' 
'CFLAGS=-O2 -pipe -I/usr/local/include -I/usr/local/include  -DLDAP_DEPRECATED 
-fno-strict-aliasing' 'LDFLAGS= -L/usr/local/lib -L/usr/local/lib' 
'CPPFLAGS=-I/usr/local/include'

$ uname -a
FreeBSD megacachebsd.hyphen-telecom 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: 
Wed Jan 12 22:17:23 EST 2011     
root@FreeBSD_8.0_pfSense_2.0-AMD64.snaps.pfsense.org:/usr/obj.pfSense/usr/pfSens
esrc/src/sys/pfSense_SMP.8  amd64

$ squidclient -p 3302 mgr:info
HTTP/1.0 200 OK
Server: Lusca
Date: Tue, 18 Jan 2011 00:11:11 GMT
Content-Type: text/plain
Expires: Tue, 18 Jan 2011 00:11:11 GMT
X-Cache: MISS from BSD.Cache
Connection: close

I get the following after executing squidclient output:

Squid Object Cache: Version LUSCA r14829 patched: chudy r14
Start Time: Sun, 16 Jan 2011 17:22:51 GMT
Current Time:   Tue, 18 Jan 2011 00:11:11 GMT
Connection information for squid:
    Number of clients accessing cache:  2
    Number of HTTP requests received:   34408670
    Number of ICP messages received:    5748
    Number of ICP messages sent:    5748
    Number of queued ICP replies:   0
    Request failure ratio:      f
    Average HTTP requests per minute since start:   f
    Average ICP messages per minute since start:    f
    Select loop called: 155668793 times, f ms avg
Cache information for squid:
    Request Hit Ratios: 5min:   f%, 60min:   f%
    Byte Hit Ratios:    5min:   f%, 60min:   f%
    Request Memory Hit Ratios:  5min:   f%, 60min:   f%
    Request Disk Hit Ratios:    5min:   f%, 60min:   f%
    Storage Swap size:  258278220 KB
    Storage Mem size:   13368 KB
    Mean Object Size:   f KB
    Requests given to unlinkd:  0
Median Service Times (seconds)  5 min    60 min:
    HTTP Requests (All):         f        f
    Cache Misses:                f        f
    Cache Hits:                  f        f
    Near Hits:                   f        f
    Not-Modified Replies:        f        f
    DNS Lookups:                 f        f
    ICP Queries:                 f        f
Resource usage for squid:
    UP Time:    f seconds
    CPU Time:   f seconds
    CPU Usage:  f%
    CPU Usage, 5 minute avg:    f%
    CPU Usage, 60 minute avg:   f%
    Process Data Segment Size via sbrk(): 0 KB
    Maximum Resident Size: 1504692 KB
    Page faults with physical i/o: 0
Memory accounted for:
    Total accounted:       1008517 KB
    memPoolAlloc calls: 50461961
    memPoolFree calls: 19029370
File descriptor usage for squid:
    Maximum number of file descriptors:   65536
    Largest file desc currently in use:   20471
    Number of file desc currently in use: 6609
    Files queued for open:                   0
    Available number of file descriptors: 58927
    Reserved number of file descriptors:   100
    Store Disk files open:                 212
    IO loop method:                     kqueue
Internal Data Structures:
    13375620 StoreEntries
      1233 StoreEntries with MemObjects
        36 Hot Object Cache Items
    13374472 on-disk objects

Thanks,

Original issue reported on code.google.com by k.tham...@gmail.com on 18 Jan 2011 at 12:16

GoogleCodeExporter commented 9 years ago
wrong place dude, should posting your problem here :
http://code.google.com/p/pfsense-cacheboy/

Original comment by hen26...@gmail.com on 19 Jan 2011 at 4:29

GoogleCodeExporter commented 9 years ago

Original comment by chudy.fernandez on 9 Mar 2011 at 5:45