Right think I've got the idea now. Thanks for all contributions on this.
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Karl "Pflästerer"
Sent: 25 April 2006 22:28
To: tutor@python.org
Subject: Re: [Tutor] Dictionaries and agg
On 25 Apr 2006, [EMAIL PROTECTED] wrote:
[...]
> Here's the list I'm starting with:
>
for i in rLst:
print i, type(i)
>
> server001 alive 17.1% 2 requests/s 14805416 total
> server001 alive 27.2% 7 requests/s 14851125 total
> server002 alive 22.9% 6 requ
Kent Johnson writes:
>> However here's what I'm now trying to do:
>>
>> 1) Not have to rely on using awk at all.
>>
>>
>> 2) Create a dictionary with server names for keys e.g. server001,
>> server002 etc and the aggregate of the request for that server as the value
>> part of t
> However here's what I'm now trying to do:
>
> 1) Not have to rely on using awk at all.
>
>
> 2) Create a dictionary with server names for keys e.g. server001,
> server002 etc and the aggregate of the request for that server as the value
> part of the pairing.
>
>
> I got thi
I am trying to create a dictionary using data produced by a
load balancing admin tool and aggregate the results.
When I invoke the tool from within the shell (‘sudo
~/ZLBbalctl --action="" the following output is produced:
Load Balancer 1 usage, over the last 30 seconds
Port