
Hi, There's been no follow up on the ris-users list, no others stating they'd also like to see this, so I'm wondering what our internal point of view is. Do we want to report the maximum visibility, the maximum of all "num-rispeers:" values? If yes, would we want that in the comment lines of every query? Or only report it in the output of a special query, like '-q sources'? Although I haven't looked at the code for this particular request, my feeling is the max(num_peers) is relatively easy to extract from the data by a simple walk through the prefix tree. -- Rene ------- Forwarded Message From: Andrzej Adam Filip <anfi@poczta.onet.pl> To: ris-users@ripe.net Subject: Re: riswhois: reporting total number of ris-peers Date: Mon, 01 Aug 2005 15:03:20 +0200 [...] Current format of data in riswhoisdump.IPv4.gz and riswhoisdump.IPv6.gz is as follows: % Format: <origin> <tab> <prefix> <tab> <seen by #rispeers> I would like riswhois report (somewhere in the header comments) maximum value of "seen by #rispeers" ("num-rispeers:" in riwhois terminology) in current data set. It would make client aware about number of rispeers seeing route with the best "visibility". Based on todays dumps (2005-08-01T10:03+0000) it is: 89 for IPv4 routes 28 for IPv6 routes I used the following scriplet: zcat riswhoisdump.IPv4.gz | perl -nae ' next if /^%/; $MAX=$F[2] if $F[2]>$MAX; END {print $MAX} ' - -- Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl All that is necessary for the triumph of evil is that good men do nothing -- Edmund Burke (1729-1797) ------- End of Forwarded Message