Hi there,

On Mon, 29 Jul 2013, 15:42:45 +0200, Neel. wrote:
> Hello,
> 
> Many greetings !
> 
> I have a query regarding the use of one the command using hatop.
> 
> I want to export the HAproxy statistics details from my server to a file
> using below command:
> 
> hatop -s /var/run/haproxy/haproxy.sock > test.csv
> 
> But the file is not generating properly (there are many junk characters).
> PFA.

the _strange_ characters come from hatop interpreting some terminal
controlling sequences from your terminfo database... Try running your
command as follows:

  env TERM=dumb hatop -s /var/run/haproxy/haproxy.sock > test.csv

> Kindly Help. It's important for me to generate some data.
> 
> Thanks !

HTH, cheers.

l8er
manfred

Reply via email to