[Varnish] #514: varnishtop not printing values in once mode

Varnish varnish-bugs at projects.linpro.no
Sat May 30 03:07:50 CEST 2009


#514: varnishtop not printing values in once mode
------------------------+---------------------------------------------------
 Reporter:  ericp       |       Owner:  phk  
     Type:  defect      |      Status:  new  
 Priority:  normal      |   Milestone:       
Component:  varnishtop  |     Version:  trunk
 Severity:  normal      |    Keywords:       
------------------------+---------------------------------------------------
 When called with -1, varnishtop doesn't print the actual values from the
 log. For example:

 {{{
 > varnishtop -i RxRequest -1
     30.00
     20.00
 }}}

 It looks like a few magic constants were used in the dump() function and
 never replaced with proper constants. The attached patch fixes this, and
 will give the correct output:

 {{{
 > varnishtop -i RxRequest -1
     30.00 HEAD
     20.00 GET
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/514>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list