Date: Tue, 15 Apr 2003 23:41:26 +0200 From: Zahemszky =?iso-8859-2?Q?G=E1bor?= <Gabor@zahemszky.hu> To: freebsd-gnome@freebsd.org Subject: LAN-stat applet Message-ID: <20030415214126.GA99157@Picasso.Zahemszky.HU>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030415214126.GA99157>