Professional Documents
Culture Documents
com
email:kashif@kmirza.com
Squid Logfile Analysis
# Calamaris
[root@squid ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release0.5.2-2.el5.rf.i386.rpm
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12680 (12K) [application/x-redhat-package-manager]
Saving to: `rpmforge-release-0.5.2-2.el5.rf.i386.rpm'
100%[======================================>] 12,680
23.2K/s
in 0.5s
==============================================================================
================================================
Install
1 Package(s)
Upgrade
0 Package(s)
Total download size: 54 k
Is this ok [y/N]: y
Downloading Packages:
calamaris-2.591.2.el5.rf.noarch.rpm
| 54 kB
00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing
:
calamaris
1/1
Installed:
calamaris.noarch 0:2.59-1.2.el5.rf
Complete!
[root@squid ~]# cat access.log | Calamaris -a
--------------------------------- --------- ------ -------- ------ ---- -----GET
575856 95.04
19532M 99.57
5
6.53
POST
29287
4.83 87847601
0.43
4
0.84
NONE
455
0.08
733738
0.00
0
1054.51
HEAD
216
0.04
88292
0.00
2
0.21
OPTIONS
61
0.01
84344
0.00
10
0.13
PUT
47
0.01
17884
0.00
1
0.50
PROPFIND
6
0.00
4106
0.00
1
0.95
CONNECT
5
0.00
79909
0.00
35
0.45
--------------------------------- --------- ------ -------- ------ ---- -----Sum
605933 100.00
19617M 100.00
5
6.35
# Incoming UDP-requests by status
no matching requests
# Incoming TCP-requests by status
status
request
%
Byte
%
sec
kB/sec
--------------------------------- --------- ------ -------- ------ ---- -----HIT
132195 21.82 1097395K
5.46
1
14.14
TCP_REFRESH_HIT
50307
8.30 461277K
2.30
1
8.57
TCP_HIT
46453
7.67 562080K
2.80
0
Page 2 of 3
26.77
TCP_IMS_HIT
28942
4.78
17.35
TCP_MEM_HIT
4844
0.80
28.58
TCP_NEGATIVE_HIT
1649
0.27
83.18
MISS
473263 78.10
6.15
TCP_MISS
462473 76.32
6.17
TCP_REFRESH_MISS
8938
1.48
2.04
TCP_CLIENT_REFRESH_MISS
1831
0.30
25.68
TCP_SWAPFAIL_MISS
21
0.00
3.10
ERROR
475
0.08
872.63
TCP_DENIED
471
0.08
875.70
TCP_MISS
4
0.00
222.66
--------------------------------- --------- -----Sum
605933 100.00
6.35
10079040
0.05
64002134
0.31
1734368
0.01
18545M
94.53
18437M
93.99
52996907
0.26
59589099
0.29
44416
0.00
760250
0.00
759338
0.00
912
0.00
Page 3 of 3