[Linux-bruxelles] Vos portable ont chaud ?

Jonathan Loriaux jloriaux at no-log.org
Jeu 15 Juin 10:37:10 CEST 2006


Le jeudi 15 juin 2006 à 10:16 +0200, Eric Freyens a écrit :
> Salut vos portables ont chaud vu le temps, alors un p'tit programme en
> tcl/tk ;-)
> temp.tcl
> ----
> #!/usr/bin/env wish
> proc temp { } {
>   set t [ eval exec acpi -t ]
>   .l configure -text "$t"
>   update
>   after 10 temp
>   }
>   
> label .l -text ""
> pack .l
> 

On peut aussi faire dans un terminal faire :
$ sudo apt-get install multitail
$ multitail -R 3 -l "acpi -t -B -A"
ou toutes les dix secondes :
$ multitail -R 10 -l "acpi -t -B -A"

Cela ne sert pas à grand chose, mais c'est marrant ...

Jonathan
-- 
Jonathan Loriaux  .:.   jloriaux at no-log.org   .:.  http://www.hxnet.be
+32 (0) 485 152 473           .:.             SIP : jloriaux at ekiga.net





Plus d'informations sur la liste de diffusion Linux-bruxelles