Estimate Emerge Time (New Genlop Feature)
English, German, Networkroll, Tips, gentoo July 21st, 2007One can use genlop (0.30.7+) to estimate the time of an upcoming compile job now even if if a package has never been compiled on the system before. Just add the -q option which makes genlop query a database running on gentoo.linuxhowtos.org for compile times. The data is based on users with identical CPUs and it’s quite accurate since it calculates the average time.
Just give it a try with, e.g.: $ emerge -uDNpv world | genlop -p -q
If you didn’t know about genlop, emerge it with $ emerge -av app-portage/genlop
I usually use genlop to get the estimated time left when running a system update.
$ while genlop -c; do sleep 5; done
gives an output like
Currently merging 1 out of 6
* sys-libs/pam-0.99.8.0-r2
current merge time: 24 seconds.
ETA: 1 minute and 24 seconds.
Have fun :)






July 23rd, 2007 at 9:45
Hey,
link doch auch bitte unser Script in die News :)
http://de.gentoo-wiki.com/Emerge_beobachten
Ich setzt mich nacher mal dran, und setzt die moeglichkeit des -q noch mit rein :)
Gruss
July 23rd, 2007 at 9:57
Hey diggn,
brauchst Du nicht. Die Funktionalität die wir uns da damals gescriptet haben ist jetzt schon eine Weile direkt implementiert. Siehe “Currently merging 1 out of 6″.
Ich schreibe mir da einfach immer was wie
while genlop -c; do sleep 5; done
Liebe Grüsse (:
July 24th, 2007 at 3:39
Schade dass watch nicht mit den Farben umgehen kann, sonst könnte man einfach
watch genlop -c
machen… ;)
July 24th, 2007 at 10:46
Oh alles klar :)