Re: [dev] network usage graphs

2012-01-27 Thread Jeremy Jackins
On Thu, Jan 26, 2012 at 11:05:19PM -, Bjartur Thorlacius wrote: > What use is bloatware such as ed when you have sed and sponge? Not sure if sarcasm...

Re: [dev] network usage graphs

2012-01-26 Thread Kurt H Maier
On Thu, Jan 26, 2012 at 11:05:19PM -, Bjartur Thorlacius wrote: > What use is bloatware such as ed when you have sed and sponge? apt-get install ed rc what use is a bunch of stupid crap when you can have real tools?

Re: [dev] network usage graphs

2012-01-26 Thread Bjartur Thorlacius
On Thu, 26 Jan 2012 22:36:28 -, hiro <23h...@googlemail.com> wrote: Thanks, this is the only valid answer, but now I have to install an other OS: -bash: ed: command not found How can debian/ubuntu folks be so ignorant?! aptitude install rc coreutils moreutils What use is bloatware such

Re: [dev] network usage graphs

2012-01-26 Thread hiro
Thanks, this is the only valid answer, but now I have to install an other OS: -bash: ed: command not found How can debian/ubuntu folks be so ignorant?!

Re: [dev] network usage graphs

2011-12-24 Thread Jeremy Jackins
Is there a reason for using a stream editor when you want to edit in-file? echo '1d w' | ed original.dat

Re: [dev] network usage graphs

2011-12-24 Thread Kai Hendry
On 25 December 2011 08:42, Anthony J. Bentley wrote: > That’s a GNUism. I really like the convenience of `sed -i`. How can this be proposed to become some sort of POSIX standard (at a guess), so people can stop whining when I use it in scripts?

Re: [dev] network usage graphs

2011-12-24 Thread Bjartur Thorlacius
On 12/25/11, Anthony J. Bentley wrote: On 12/24/11, Szabolcs Nagy wrote: >> * hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]: >>> >> sed -i 1d original.dat > > That’s a GNUism. > What about $(rp "sed 1d" original.dat) ;) To address the original (-er) question, I think moreutils sponge

Re: [dev] network usage graphs

2011-12-24 Thread Anthony J. Bentley
On 12/24/11, Szabolcs Nagy wrote: > * hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]: >> Deleting the first line of my log is currently done with sed 1d >> temp; mv temp original.dat. Is there no better way? > > sed -i 1d original.dat That’s a GNUism.

Re: [dev] network usage graphs

2011-12-24 Thread Szabolcs Nagy
* hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]: > Deleting the first line of my log is currently done with sed 1d > temp; mv temp original.dat. Is there no better way? sed -i 1d original.dat

Re: [dev] network usage graphs

2011-12-23 Thread hiro
Here's the gnuplot src for a start, but you have to add up your data lines before giving them to gnuplot so that they will stack above each other in the graph. Also, I think the order of writing them is important so that they overlap in the right way [tm]. Deleting the first line of my log is curre

Re: [dev] network usage graphs

2011-12-23 Thread hiro
I will post if ready, the scripts are still too ugly to look at. And now even I need a bit of rest because I'm beginning to hallucinate and to believe I should have written everything in C firmware on that photo frame (C would have been more high level, it even has arrays. Bourne shell's eval is ev

Re: [dev] network usage graphs

2011-12-23 Thread Suraj N. Kurapati
On Fri 23 Dec 2011 11:16:46 PM PST, hiro wrote: > bourne shell sucks (better use awk for tabular calculations) Indeed, see http://c2.com/doc/expense/ (via Christian Neukirchen). > After several hours my QOS now seems to work properly: > http://h1ro.dyndns.org/uplink2.png The graph you originally

Re: [dev] network usage graphs

2011-12-23 Thread Patrick Haller
On 2011-12-23 23:16, hiro wrote: > Only so nobody falls in the same pits: gnuplot sucks, bourne shell > sucks (better use awk for tabular calculations) post the scripts? also, check out http://www.colorcombos.com/

Re: [dev] network usage graphs

2011-12-23 Thread hiro
Only so nobody falls in the same pits: gnuplot sucks, bourne shell sucks (better use awk for tabular calculations) Took me ages to find any gnuplot documentation at all, and then I had to use workarounds in shell because the wanted feature didn't work in my specific version. The Bourne shell sucks

Re: [dev] network usage graphs

2011-12-22 Thread Suraj N. Kurapati
On Thu 22 Dec 2011 01:58:45 PM PST, hiro wrote: > I want to display a more complicated network with multiple streams > of different services, multiple interfaces, multiple clients, > multiple uplinks. > > http://wiki.linuxwall.info/lib/exe/fetch.php/fr:ressources:dossiers:networking:figure9-tcgraph

Re: [dev] network usage graphs

2011-12-22 Thread Connor Lane Smith
Hey, On 22 December 2011 13:58, hiro <23h...@googlemail.com> wrote: > What tools do you know that are able to render such graphics and > update once per second or so? You may be interested in plotutils [1]. [1]: http://www.gnu.org/software/plotutils/ Thanks, cls

Re: [dev] network usage graphs

2011-12-22 Thread hiro
Don't know if joking or not. My client is a digital photo frame. It can only display images. I'm using awk to print the right numbers but I want the most simple tool for rendering. I'm looking into gnuplot now. On 22.12.2011, Patrick Haller <201009-suckl...@haller.ws> wrote: > On 2011-12-22 13:58,

Re: [dev] network usage graphs

2011-12-22 Thread Patrick Haller
On 2011-12-22 13:58, hiro wrote: > What tools do you know that are able to render such graphics and > update once per second or so? push the burden of making pretty crap on the client; drop the data to json and let the clients use a javascript library like highcharts.

Re: [dev] network usage graphs

2011-12-22 Thread Nick
On Thu, Dec 22, 2011 at 01:58:45PM +0100, hiro wrote: > Now I want to display a more complicated network with multiple streams > of different services, multiple interfaces, multiple clients, multiple > uplinks. > > ... > > What tools do you know that are able to render such graphics and > update o

[dev] network usage graphs

2011-12-22 Thread hiro
Hi, On Lunix I've used wmii, dwm and stats from p9p to display information like battery, wifi, network status. Now I want to display a more complicated network with multiple streams of different services, multiple interfaces, multiple clients, multiple uplinks. Googling around searching for proper