Display "iftop" on web

Posted by DmitrySemenov on Server Fault See other posts from Server Fault or by DmitrySemenov
Published on 2012-05-22T23:42:14Z Indexed on 2012/08/28 21:42 UTC
Read the original article Hit count: 198

Filed under:
|
|
|

I do iftop -i eth1 > out.txt

It does produce the file with "encrypted" UI content such as [(B[)0[[1;80r[[mO[[?7h[[?1h[=[[H[[J[[0;7mO Listening on eth1 [[1;48H[[mO12.5Kb

Is it possible to display this as a web xhtml output somehow?

cat out.txt on my console does produce a normal iftop window but when I do the same thing over the web I get the content above. I understand that it is "managed" on kernel level. Is the task that I want to perform possible?

© Server Fault or respective owner

Related posts about linux

Related posts about browser