Gentoo Archives: gentoo-user-cs

From: Pavel Dobes <gentoo@×××.cz>
To: gentoo-user-cs@l.g.o
Subject: Re: [gentoo-user-cs] kde jsou zarizeni eth* ?
Date: Fri, 13 Oct 2006 12:50:36
Message-Id: 20061013144940.3086576c@localhost.localdomain
In Reply to: Re: [gentoo-user-cs] kde jsou zarizeni eth* ? by "Jan Kundrát"
On Fri, 13 Oct 2006 14:11:36 +0200
Jan Kundrát <jkt@g.o> wrote:

> Pavel Dobes wrote: > > Zjistil jsem ale, ze zarizeni eth* se v /dev/, kde bych ho cekal nevytvori. Kam se podely? > > Sitove interfacy se v /dev/ nevytvareji,
Aha ;-) muzes se podivat treba na obsah
> souboru /proc/net/dev etc.
Diky Pokud Conky potrebuje videt device node pro
> zobrazeni/skryvani informaci o sitovem rozhrani, je rozbity.
Jak to? Leda tak spatne nakonfigurovany... Ted to je takto: ${if_existing /dev/.udev/failed/class@net@eth1} eth1 down:${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${offset 52}eth1 up:${color #22ccff} ${upspeed eth1} k/s ${color #0000ff}${downspeedgraph eth1 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth1 32,150 0000ff ff0000}$else eth0 down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 52}eth0 up:${color #22ccff} ${upspeed eth0} k/s ${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}$endif Co napsat do .conkyrc, aby se to chovalo dle mych pozadavku nevim... Napadlo me vytvaret a mazat nejake soubory z conky, ktere bych zaroven i z conky kontroloval, ale nevim jestli to nejde jedoduseji. PaD -- gentoo-user-cs@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-cs] kde jsou zarizeni eth* ? "Jan Kundrát" <jkt@g.o>