Re: The meaning of the status id's

From: Ulric Eriksson <ulric_at_siag.nu>
Date: Wed, 28 Jan 2009 13:04:24 +0100 (CET)

On Wed, 28 Jan 2009, Tobias Gablunsky wrote:

> I am using the HTML status report of pen and think this is a
> very useful tool.
>
> But I am wondering what the different status id's mean a server
> can have. ..only the zero status seems to be quite clear to me

Status = 0 means that the server is not blacklisted. Any other
status is the time when the server becomes un-blacklisted again.
See below for an example.

Ulric

8<---

ulric_at_nx9420:~$ pen -C 10000 -w pen.html -p pen.pid 8080 siag.nu:80 siag.nu:80

ulric_at_nx9420:~$ kill -USR1 `cat pen.pid`

ulric_at_nx9420:~$ lynx -dump pen.html
                                 Pen status page

    Time 2009-01-28 12:57:54, 16 servers, 0 current

    server address status port connections max soft max hard sent received
    weight
    0 217.151.192.87 0 80 0 0 0 0 0 0
    1 217.151.192.87 0 80 0 0 0 0 0 0
    2 0.0.0.0 0 0 0 0 0 0 0 0
    3 0.0.0.0 0 0 0 0 0 0 0 0
    4 0.0.0.0 0 0 0 0 0 0 0 0
    5 0.0.0.0 0 0 0 0 0 0 0 0
    6 0.0.0.0 0 0 0 0 0 0 0 0
    7 0.0.0.0 0 0 0 0 0 0 0 0
    8 0.0.0.0 0 0 0 0 0 0 0 0
    9 0.0.0.0 0 0 0 0 0 0 0 0
    10 0.0.0.0 0 0 0 0 0 0 0 0
    11 0.0.0.0 0 0 0 0 0 0 0 0
    12 0.0.0.0 0 0 0 0 0 0 0 0
    13 0.0.0.0 0 0 0 0 0 0 0 0
    14 0.0.0.0 0 0 0 0 0 0 0 0
    15 0.0.0.0 0 0 0 0 0 0 0 0

Active clients

    Max number of clients: 2048

    client address age(secs) last server connects sent received

Active connections

    Number of connections: 256 max, 0 used, 0 last

    connection downfd upfd pending data down pending data up client server

ulric_at_nx9420:~$ penctl localhost:10000 server 0 blacklist 30

ulric_at_nx9420:~$ kill -USR1 `cat pen.pid`

ulric_at_nx9420:~$ lynx -dump pen.html
                                 Pen status page

    Time 2009-01-28 12:58:43, 16 servers, 0 current

    server address status port connections max soft max hard sent received
    weight
    0 217.151.192.87 1233143921 80 0 0 0 0 0 0
    1 217.151.192.87 0 80 0 0 0 0 0 0
    2 0.0.0.0 0 0 0 0 0 0 0 0
    3 0.0.0.0 0 0 0 0 0 0 0 0
    4 0.0.0.0 0 0 0 0 0 0 0 0
    5 0.0.0.0 0 0 0 0 0 0 0 0
    6 0.0.0.0 0 0 0 0 0 0 0 0
    7 0.0.0.0 0 0 0 0 0 0 0 0
    8 0.0.0.0 0 0 0 0 0 0 0 0
    9 0.0.0.0 0 0 0 0 0 0 0 0
    10 0.0.0.0 0 0 0 0 0 0 0 0
    11 0.0.0.0 0 0 0 0 0 0 0 0
    12 0.0.0.0 0 0 0 0 0 0 0 0
    13 0.0.0.0 0 0 0 0 0 0 0 0
    14 0.0.0.0 0 0 0 0 0 0 0 0
    15 0.0.0.0 0 0 0 0 0 0 0 0

Active clients

    Max number of clients: 2048

    client address age(secs) last server connects sent received

Active connections

    Number of connections: 256 max, 0 used, 0 last

    connection downfd upfd pending data down pending data up client server
Received on Wed Jan 28 2009 - 13:04:24 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 28 2009 - 13:04:24 CET