[Tutor] Dictionaries and aggregation

2006-04-24 Thread Paul Churchill
  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

Re: [Tutor] Dictionaries and aggregation

2006-04-25 Thread paul . churchill
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

Re: [Tutor] Dictionaries and aggregation

2006-04-25 Thread Paul Churchill
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 aggregation On 25 Apr