Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 7 of 7
  1. #1
    Status
    Offline
    cikruk21's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    65
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Tanya Cara Ngecek Status Hit Di Proxy Squid

    gan mau nanya dong.......
    gimana ya comman buat ngecek status hit kita bagus apa ga di proxy squid yg di gandeng dengan mikrotik...
    thanks

    contoh seperti ini
    HTTP/1.0 200 OK
    Date: Sat, 26 Jun 2010 06:31:23 GMT
    Content-Type: text/plain
    Expires: Sat, 26 Jun 2010 06:31:23 GMT
    X-Cache: MISS from Rh354
    X-Cache-Lookup: MISS from Rh354:3128
    Connection: close

    Squid Object Cache: Version 2.7.STABLE9
    Start Time: Fri, 25 Jun 2010 22:41:05 GMT
    Current Time: Sat, 26 Jun 2010 06:31:23 GMT
    Connection information for squid:
    Number of clients accessing cache: 0
    Number of HTTP requests received: 26790
    Number of ICP messages received: 0
    Number of ICP messages sent: 0
    Number of queued ICP replies: 0
    Number of HTCP messages received: 0
    Number of HTCP messages sent: 0
    Request failure ratio: 0.00
    Average HTTP requests per minute since start: 57.0
    Average ICP messages per minute since start: 0.0
    Select loop called: 334468 times, 84.367 ms avg
    Cache information for squid:
    Request Hit Ratios: 5min: 83.2%, 60min: 74.1%
    Byte Hit Ratios: 5min: 84.1%, 60min: 77.6%
    Request Memory Hit Ratios: 5min: 4.5%, 60min: 4.9%
    Request Disk Hit Ratios: 5min: 94.2%, 60min: 92.2%
    Storage Swap size: 588104 KB
    Storage Mem size: 8164 KB
    Mean Object Size: 13.10 KB
    Requests given to unlinkd: 0
    Median Service Times (seconds) 5 min 60 min:
    HTTP Requests (All): 0.00000 0.00000
    Cache Misses: 0.76407 0.80651
    Cache Hits: 0.00000 0.00000
    Near Hits: 0.00000 0.72387
    Not-Modified Replies: 0.00000 0.00000
    DNS Lookups: 0.05078 0.05078
    ICP Queries: 0.00000 0.00000
    Resource usage for squid:
    UP Time: 28218.153 seconds
    CPU Time: 28.258 seconds
    CPU Usage: 0.10%
    CPU Usage, 5 minute avg: 0.15%
    CPU Usage, 60 minute avg: 0.13%
    Process Data Segment Size via sbrk(): 16808 KB
    Maximum Resident Size: 77936 KB
    Page faults with physical i/o: 1
    Memory usage for squid via mallinfo():
    Total space in arena: 16808 KB
    Ordinary blocks: 16276 KB 415 blks
    Small blocks: 0 KB 0 blks
    Holding blocks: 768 KB 2 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 531 KB
    Total in use: 17044 KB 97%
    Total free: 531 KB 3%
    Total size: 17576 KB
    Memory accounted for:
    Total accounted: 12196 KB
    memPoolAlloc calls: 3795214
    memPoolFree calls: 3679159
    File descriptor usage for squid:
    Maximum number of file descriptors: 2048
    Largest file desc currently in use: 25
    Number of file desc currently in use: 13
    Files queued for open: 0
    Available number of file descriptors: 2035
    Reserved number of file descriptors: 100
    Store Disk files open: 0
    IO loop method: epoll
    Internal Data Structures:
    44951 StoreEntries
    1218 StoreEntries with MemObjects
    1217 Hot Object Cache Items
    44904 on-disk objects

  2. #2
    Status
    Offline
    azzura2000's Avatar
    Member
    Join Date
    Mar 2010
    Posts
    159
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Request Memory Hit Ratios: 5min: 4.5%, 60min: 4.9%
    Request Disk Hit Ratios: 5min: 94.2%, 60min: 92.2%

    Click here to enlarge mantap

  3. #3
    Status
    Offline
    president voice's Avatar
    Newbie
    Join Date
    Jul 2010
    Posts
    50
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    squidclient -p mgr:info => kalo portnya 3128
    squidclient -p 8080 mgr:info => kalo portnya 8080, dst

    kl error coba instal dulu squidclientnya

    apt-get install squidclient

    Click here to enlarge

    -=PV=-

  4. The Following User Says Thank You to president voice For This Useful Post:


  5. #4
    Status
    Offline
    cikruk21's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    65
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    OK thanks gan.. mantab..

    oh ya, config squid saya seperti berikut.... ada salah / koreksi ga gan??

    #-----------------------------------#
    # Proxy Server Versi 2.7.Stable7
    # by cikruk21@gmail.com
    #-----------------------------------#

    #---------------------------------------------------------------#
    # Port
    #---------------------------------------------------------------#

    http_port 3128 transparent
    icp_port 3130
    prefer_direct off

    #---------------------------------------------------------------#
    # Cache & Object
    #---------------------------------------------------------------#

    cache_mem 15 MB
    cache_swap_low 98
    cache_swap_high 99
    max_filedesc 8192
    maximum_object_size 1 GB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 125 KB

    ipcache_size 4096
    ipcache_low 98
    ipcache_high 99
    fqdncache_size 4096
    cache_replacement_policy heap LFUDA
    memory_replacement_policy heap GDSF

    #----------------------------------------------------------------#
    # cache_dir <type> <Directory-Name> <Space in Mbytes> <Level1> <Level2> <options>
    #----------------------------------------------------------------#

    cache_dir aufs /home/proxy1 7000 16 256
    cache_dir aufs /home/proxy2 7000 16 256
    cache_dir aufs /home/proxy3 7000 16 256

    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log none
    pid_filename /var/run/squid.pid
    cache_swap_log /var/log/squid/swap.state
    dns_nameservers /etc/resolv.conf
    emulate_httpd_log off
    hosts_file /etc/hosts
    half_closed_clients off
    negative_ttl 1 minutes

    #---------------------------------------------------------------#
    # Rules: Safe Port
    #---------------------------------------------------------------#

    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443 563 873 # https snews rsync
    acl Safe_ports port 80 # http
    acl Safe_ports port 20 21 # ftp
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    acl Safe_ports port 631 # cups
    acl Safe_ports port 10000 # webmin
    acl Safe_ports port 901 # SWAT
    acl Safe_ports port 280 # http-mgmt
    acl Safe_ports port 488 # gss-http
    acl Safe_ports port 591 # filemaker
    acl Safe_ports port 777 # multiling http
    acl Safe_ports port 873 # rsync
    acl Safe_ports port 110 # POP3
    acl Safe_ports port 25 # SMTP
    acl Safe_ports port 2095 2096 # webmail from cpanel
    acl Safe_ports port 2082 2083 # cpanel

    acl purge method PURGE
    acl CONNECT method CONNECT
    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny purge
    http_access deny !Safe_ports !SSL_ports
    http_access deny CONNECT !SSL_ports !Safe_ports

    #---------------------------------------------------------------#
    # Refresh Pattern
    #---------------------------------------------------------------#

    # pictures & images
    refresh_pattern -i \.(gif|png|jpeg|jpg|bmp|tif|tiff|ico)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth ignore-private
    refresh_pattern -i \.(xml|html|htm|js|txt|css|php)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth

    #sound, video multimedia
    refresh_pattern -i \.(flv|x-flv|mov|avi|qt|mpg|mpeg|swf)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache
    refresh_pattern -i \.(wav|mp3|mp4|au|mid)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth ignore-private

    # files
    refresh_pattern -i \.(iso|deb|rpm|zip|tar|tgz|ram|rar|bin|ppt|doc)$ 10080 90% 43200 ignore-no-cache ignore-auth
    refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth


    #default option
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
    refresh_pattern . 0 20% 4320

    #---------------------------------------------------------------#
    # SNMP
    #---------------------------------------------------------------#

    snmp_port 3401
    acl snmpsquid snmp_community public
    snmp_access allow snmpsquid localhost
    snmp_access deny all

    #---------------------------------------------------------------#
    # ALLOWED ACCESS
    #---------------------------------------------------------------#

    acl cikruk21 src 192.168.2.0/24
    http_access allow cikruk21
    http_access allow localhost
    http_access deny all
    http_reply_access allow all
    icp_access allow cikruk21
    icp_access allow localhost
    icp_access deny all
    always_direct deny all

    #---------------------------------------------------------------#
    # Cache CGI & Administrative
    #---------------------------------------------------------------#

    cache_mgr cikruk21@gmail.com
    visible_hostname dns.cikruk21.net
    cache_effective_user proxy
    cache_effective_group proxy
    coredump_dir /var/spool/squid
    shutdown_lifetime 10 seconds
    logfile_rotate 14

    #-----------------------------------------------------------------#
    #tcp_outgoing_tos 0x30 localnet
    #-----------------------------------------------------------------#

    zph_mode tos
    zph_local 0x30
    zph_parent 0
    zph_option 136

  6. #5
    Status
    Offline
    cikruk21's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    65
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    hasil cek ternyata hasilnya seperti ini.....
    ada dimana salahnya ya???


    HTTP/1.0 200 OK
    Server: squid/2.7.STABLE3
    Date: Sun, 11 Jul 2010 02:16:10 GMT
    Content-Type: text/plain
    Expires: Sun, 11 Jul 2010 02:16:10 GMT
    X-Cache: MISS from dns.cikruk21.net
    X-Cache-Lookup: MISS from dns.cikruk21.net:3128
    Via: 1.0 dns.cikruk21.net:3128 (squid/2.7.STABLE3)
    Connection: close

    Squid Object Cache: Version 2.7.STABLE3
    Start Time: Sat, 10 Jul 2010 12:38:58 GMT
    Current Time: Sun, 11 Jul 2010 02:16:10 GMT
    Connection information for squid:
    Number of clients accessing cache: 3
    Number of HTTP requests received: 42620
    Number of ICP messages received: 0
    Number of ICP messages sent: 0
    Number of queued ICP replies: 0
    Number of HTCP messages received: 0
    Number of HTCP messages sent: 0
    Request failure ratio: 0.00
    Average HTTP requests per minute since start: 52.2
    Average ICP messages per minute since start: 0.0
    Select loop called: 880974 times, 55.656 ms avg
    Cache information for squid:
    Request Hit Ratios: 5min: 35.6%, 60min: 47.3%
    Byte Hit Ratios: 5min: 88.7%, 60min: 53.4%
    Request Memory Hit Ratios: 5min: 41.9%, 60min: 16.1%
    Request Disk Hit Ratios: 5min: 19.4%, 60min: 51.5%
    Storage Swap size: 202080 KB
    Storage Mem size: 8184 KB
    Mean Object Size: 12.91 KB
    Requests given to unlinkd: 0
    Median Service Times (seconds) 5 min 60 min:
    HTTP Requests (All): 0.11465 0.05046
    Cache Misses: 1.91442 0.72387
    Cache Hits: 0.00102 0.00379
    Near Hits: 0.01955 0.05951
    Not-Modified Replies: 0.00000 0.00000
    DNS Lookups: 0.01767 0.00464
    ICP Queries: 0.00000 0.00000
    Resource usage for squid:
    UP Time: 49031.712 seconds
    CPU Time: 30.640 seconds
    CPU Usage: 0.06%
    CPU Usage, 5 minute avg: 0.01%
    CPU Usage, 60 minute avg: 0.07%
    Process Data Segment Size via sbrk(): 17204 KB
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 0
    Memory usage for squid via mallinfo():
    Total space in arena: 17204 KB
    Ordinary blocks: 17002 KB 5833 blks
    Small blocks: 0 KB 0 blks
    Holding blocks: 2728 KB 2 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 201 KB
    Total in use: 19730 KB 99%
    Total free: 201 KB 1%
    Total size: 19932 KB
    Memory accounted for:
    Total accounted: 13374 KB
    memPoolAlloc calls: 6668764
    memPoolFree calls: 6594043
    File descriptor usage for squid:
    Maximum number of file descriptors: 8192
    Largest file desc currently in use: 29
    Number of file desc currently in use: 23
    Files queued for open: 0
    Available number of file descriptors: 8169
    Reserved number of file descriptors: 100
    Store Disk files open: 0
    IO loop method: epoll
    Internal Data Structures:
    15760 StoreEntries
    1605 StoreEntries with MemObjects
    1601 Hot Object Cache Items
    15652 on-disk objects

  7. #6
    Status
    Offline
    azzura2000's Avatar
    Member
    Join Date
    Mar 2010
    Posts
    159
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    cache_mem 15 MB coba
    kasih 6MB ato 8MB

    Cache information for squid:
    Request Hit Ratios: 5min: 35.6%, 60min: 47.3%
    Byte Hit Ratios: 5min: 88.7%, 60min: 53.4%
    Request Memory Hit Ratios: 5min: 41.9%, 60min: 16.1%
    Request Disk Hit Ratios: 5min: 19.4%, 60min: 51.5%
    Storage Swap size: 202080 KB

    - swapnya blum sbrapa, ini squid baru running brapa jam??
    - kemungkinan client tidak ngakses cachenya, mungkin lagi buka video Click here to enlarge
    Code:
     Squid Object Cache: Version LUSCA_HEAD
    Start Time:     Sun, 11 Jul 2010 01:41:01 GMT
    Current Time:   Sun, 11 Jul 2010 03:28:58 GMT
    Connection information for squid:
            Number of clients accessing cache:      9
            Number of HTTP requests received:       16476
            Number of ICP messages received:        0
            Number of ICP messages sent:    0
            Number of queued ICP replies:   0
            Number of HTCP messages received:       0
            Number of HTCP messages sent:   0
            Request failure ratio:   0.00
            Average HTTP requests per minute since start:   152.6
            Average ICP messages per minute since start:    0.0
            Select loop called: 444965 times, 14.555 ms avg
    Cache information for squid:
            Request Hit Ratios:     5min: 39.6%, 60min: 29.3%
            Byte Hit Ratios:        5min: 32.4%, 60min: 37.0%
            Request Memory Hit Ratios:      5min: 0.0%, 60min: 1.7% 
            Request Disk Hit Ratios:        5min: 56.6%, 60min: 77.0%
            Storage Swap size:      2664548 KB
            Storage Mem size:       6136 KB
            Mean Object Size:       18.78 KB
            Requests given to unlinkd:      0
    Median Service Times (seconds)  5 min    60 min:
            HTTP Requests (All):   0.46965  0.94847
            Cache Misses:          1.05672  1.46131
            Cache Hits:            0.00919  0.01035
            Near Hits:             0.37825  0.52331
            Not-Modified Replies:  0.00000  0.00091
            DNS Lookups:           0.00000  0.00000
            ICP Queries:           0.00000  0.00000
    Resource usage for squid:
            UP Time:        6476.275 seconds
            CPU Time:       44.115 seconds
            CPU Usage:      0.68%
            CPU Usage, 5 minute avg:        0.32%
            CPU Usage, 60 minute avg:       0.70%
            Process Data Segment Size via sbrk(): 25588 KB
            Maximum Resident Size: 118720 KB
            Page faults with physical i/o: 1
    Memory usage for squid via mallinfo():
            Total space in arena:   25588 KB
            Ordinary blocks:        25143 KB   2420 blks
            Small blocks:               0 KB      0 blks
            Holding blocks:          1892 KB      5 blks
            Free Small blocks:          0 KB
            Free Ordinary blocks:     444 KB
            Total in use:           27035 KB 98%
            Total free:               444 KB 2%
            Total size:             27480 KB
    Memory accounted for:
            Total accounted:        16830 KB
            memPoolAlloc calls: 2887198
            memPoolFree calls: 2574621
    File descriptor usage for squid:
            Maximum number of file descriptors:   1024
            Largest file desc currently in use:     42
            Number of file desc currently in use:   23
            Files queued for open:                   0
            Available number of file descriptors: 1001
            Reserved number of file descriptors:   100
            Store Disk files open:                   2
            IO loop method:                     epoll
    Internal Data Structures:
            142013 StoreEntries
              1416 StoreEntries with MemObjects
              1412 Hot Object Cache Items
            141870 on-disk objects
    client lagi main game OL
    Last edited by azzura2000; 11-07-2010 at 11:28.

  8. #7
    Status
    Offline
    Rifq Adabi's Avatar
    Baru Gabung
    Join Date
    Oct 2011
    Location
    Tasikmalaya, Indonesia
    Posts
    1
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    gan, tanya dikit donk
    aq punya proxy squid, reques hit ratio lumayanlah ckp bagus, walu g bagus2 amat
    tp setelah aq cleaning/brsihkan cache nya, ko jd super kecil banget reques hit ratio nya 10 % nan
    itu gmn yah, biar joss lg reques hit ratio.a

 

 

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. Replies: 21
    Last Post: 25-11-2009, 02:35
  2. tanya cara blok, biar proxy saya ga jadi open proxy
    By yephta in forum Beginner Basics
    Replies: 5
    Last Post: 11-08-2009, 20:45
  3. Gimana cara set iptables jika squid proxy diatas mikrotik ?
    By pathic in forum General Networking
    Replies: 0
    Last Post: 23-06-2008, 12:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •