Bug#629680: dstat_squid looks for squidclient in the wrong directory

2014-02-16 Thread Andrew Pollock
On Wed, Jun 08, 2011 at 12:44:07PM -0700, Andrew Pollock wrote: Hi Dag, Ping? I have a number of thoughts on how you could tackle this, and would be happy to provide a patch. 1) Just try looking for squiclient in /usr/bin and /usr/sbin 2) Use platform.dist() (or

Bug#629680: dstat_squid looks for squidclient in the wrong directory

2011-06-08 Thread Tomas ?gren
Package: dstat Version: 0.7.2-1 Severity: normal dstat_squid (as being used by 'dstat --squid') looks for squidclient in the wrong directory. twiggy:~# dstat --squid Module dstat_squid failed to load. (Needs squidclient binary) None of the stats you selected are available. twiggy:~# strace -f

Bug#629680: dstat_squid looks for squidclient in the wrong directory

2011-06-08 Thread Andrew Pollock
Hi Dag, I have a number of thoughts on how you could tackle this, and would be happy to provide a patch. 1) Just try looking for squiclient in /usr/bin and /usr/sbin 2) Use platform.dist() (or platform.linux_distribution()) to choose the appropriate location of squidclient. In this vein, how