LAN-stat applet

ZahemszkyGábor Gabor at zahemszky.hu
Tue Apr 15 14:33:15 PDT 2003


Hi!

I've found, that on GNOME 2.2, the system monitoring applett cannot correctly
handle the machine's lan interfaces.

1) I cannot configure what interface(s) I'd like to watch.  It has slip /plip /
ethernet /other .  Maybe it's OK, on linux, which has a generic eth0 interface,
but it's incorrect in *BSD/Solaris/etc, which has different interface names.
(As I has a PPPoE connection, I have a tun0 on my ed0 card, so it has to
be in the other section.  But doesn't work that way either.)

2) I'd like a different kind of net-stat-applet (eg, such a monitoring
tool, as I can find on IceWM).  I can configure the interface, and
different colors show different things, eg: red: incoming, blue: outgoing,
or the like.

So are there anybody, who knows such a toy?  (No, I don't want gkrellm2).
Only a little 10 pixel wide window in GNOME's panel.  Or some trick, to
teach that GNOME-applett, to watch another netif (without recompiling) ?

Thanx,

Zahy < Gabor at Zahemszky dot HU >

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"


More information about the freebsd-gnome mailing list