from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

58448

userrating:

average rating: 1.5 (4 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Portage magic

/var/log/emerge.log is well-known as the central reporitory of information about all emerge activity going on in system.

Lesser known are some tricks you can do with the content of that log file. For example, when you start an upgrade, you generally don't know how much time it will take to finish compiling. You probably don't remember how long your last mplayer installation took, but Portage does, and if you'd decipher the Unix time stamps in /var/log/emerge.log, you'd get a pretty good idea, too.

Or you could let app-portage/genlop do it for you. Emerge (the unstable, ~arch version of) genlop with:

Code Listing 1: Emerge genlop

#emerge -av genlop

Now run a pretended world upgrade and pipe it to genlop for an estimation of your upgrade schedule:

Code Listing 2: Estimate upgrade time

#emerge -pu world | genlop --pretend 
These are the pretended packages: (this may take a while; wait...) 
 
 * media-libs/tiff 
 * x11-base/xorg-x11 
 * app-sci/stellarium 
 * app-arch/gzip 
 * dev-libs/libIDL 
 * net-www/mozilla-firefox 
 * sys-boot/lilo 
 * app-doc/abs-guide 
 * app-arch/unarj 
 * app-emulation/wine 
 * app-admin/sudo 
 
Estimated update time: 4 hours, 38 minutes.

A look at the mechanism explains how Portage can double as an oracle. It uses the statistics stored in the emerge.log file, take an average of compilation times for given packages, and summarize the results. There are some uncertainties, of course, for example if you use the CCACHE feature, then compile times for a minor version bump may be much faster than the original package took compiling the first time. On the other hand, if an application has been extended with new features, the old average compile time can be shorter than the version you're about to emerge.

Another brilliant feature of genlop is its --current option, the perfect companion to the estimated compile-time from --pretend:

Code Listing 3: How much time spent since the beginning of an emerge

# genlop --current 
 * app-portage/splat-0.07  
       current merge time: 12 seconds.

Now you can say how long time you have to wait.

From http://www.gentoo.org/news/en/gwn/20041122-newsletter.xml


rate this article:
current rating: average rating: 1.1 (78 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2021-08-03
Quota - 1.8.1
Ebuild name:

dev-perl/Quota-1.8.1

Description

Perl interface to file system quotas

Added to portage

2021-08-03

Rcs - 1.50.0-r3
Ebuild name:

dev-perl/Rcs-1.50.0-r3

Description

Perl bindings for Revision Control System

Added to portage

2021-08-03

Readonly - 2.50.0-r1
Ebuild name:

dev-perl/Readonly-2.50.0-r1

Description

Facility for creating read-only scalars, arrays, hashes

Added to portage

2021-08-03

broot - 1.6.3
Ebuild name:

app-misc/broot-1.6.3

Description

A new way to see and navigate directory trees

Added to portage

2021-08-03

ceferino - 0.97.8-r3
Ebuild name:

games-arcade/ceferino-0.97.8-r3

Description

Super-Pang clone (destroy bouncing balloons with your grapnel)

Added to portage

2021-08-03

chrome-binary-plugins - 92.0.4515.131
Ebuild name:

www-plugins/chrome-binary-plugins-92.0.4515.131

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2021-08-03

circuslinux - 1.0.3-r2
Ebuild name:

games-arcade/circuslinux-1.0.3-r2

Description

Clone of the Atari 2600 game

Added to portage

2021-08-03

courier - 1.1.5
Ebuild name:

mail-mta/courier-1.1.5

Description

An MTA designed specifically for maildirs

Added to portage

2021-08-03

courier-authlib - 0.71.3
Ebuild name:

net-libs/courier-authlib-0.71.3

Description

Courier authentication library

Added to portage

2021-08-03

dMagnetic - 0.32
Ebuild name:

games-engines/dMagnetic-0.32

Description

A Magnetic Scrolls Interpreter for playing a collection of old text ad

Added to portage

2021-08-03

defendguin - 0.0.12-r2
Ebuild name:

games-arcade/defendguin-0.0.12-r2

Description

Clone of the arcade game Defender, but with a Linux theme

Added to portage

2021-08-03

glibc - 2.34
Ebuild name:

sys-libs/glibc-2.34

Description

GNU libc C library

Added to portage

2021-08-03

google-chrome - 92.0.4515.131
Ebuild name:

www-client/google-chrome-92.0.4515.131

Description

The web browser from Google

Added to portage

2021-08-03

ocserv - 1.1.3
Ebuild name:

net-vpn/ocserv-1.1.3

Description

Openconnect SSL VPN server

Added to portage

2021-08-03

perl-ldap - 0.680.0
Ebuild name:

dev-perl/perl-ldap-0.680.0

Description

Perl modules which provide an object-oriented interface to LDAP servers

Added to portage

2021-08-03

perl-mozldap - 1.5.3-r1
Ebuild name:

dev-perl/perl-mozldap-1.5.3-r1

Description

Mozilla PerLDAP

Added to portage

2021-08-03

prefork - 1.50.0
Ebuild name:

dev-perl/prefork-1.50.0

Description

Optimized module loading for forking or non-forking processes

Added to portage

2021-08-03

simdjson - 0.9.7
Ebuild name:

dev-libs/simdjson-0.9.7

Description

SIMD accelerated C++ JSON library

Added to portage

2021-08-03

sip - 6.2.0_pre2107131757
Ebuild name:

dev-python/sip-6.2.0_pre2107131757

Description

Python bindings generator for C/C++ libraries

Added to portage

2021-08-03

2021-08-02
PyQt5 - 5.15.5_pre2107091435
Ebuild name:

dev-python/PyQt5-5.15.5_pre2107091435

Description

Python bindings for the Qt framework

Added to portage

2021-08-02

aboot - 9999
Ebuild name:

sys-boot/aboot-9999

Description

Alpha Linux boot loader for SRM

Added to portage

2021-08-02

alacritty - 0.9.0_rc5
Ebuild name:

x11-terms/alacritty-0.9.0_rc5

Description

GPU-accelerated terminal emulator

Added to portage

2021-08-02

autoconf - 2.71-r1
Ebuild name:

sys-devel/autoconf-2.71-r1

Description

Used to create autoconfiguration files

Added to portage

2021-08-02

badvpn - 0
Ebuild name:

acct-user/badvpn-0

Description

A user for net-vpn/badvpn

Added to portage

2021-08-02

caja-admin - 0.0.4
Ebuild name:

mate-extra/caja-admin-0.0.4

Description

Caja Admin Extension

Added to portage

2021-08-02

cascadia-code - 2106.17
Ebuild name:

media-fonts/cascadia-code-2106.17

Description

A monospaced font developed for Windows Terminal

Added to portage

2021-08-02

diffutils - 3.8
Ebuild name:

sys-apps/diffutils-3.8

Description

Tools to make diffs and compare files

Added to portage

2021-08-02

edac-utils - 0.18-r1
Ebuild name:

sys-apps/edac-utils-0.18-r1

Description

Userspace helper for Linux kernel EDAC drivers

Added to portage

2021-08-02

ell - 0.42
Ebuild name:

dev-libs/ell-0.42

Description

Embedded Linux Library provides core, low-level functionality for system daemons

Added to portage

2021-08-02

eselect-ctags - 1.19
Ebuild name:

app-eselect/eselect-ctags-1.19

Description

Manages ctags implementations

Added to portage

2021-08-02

eselect-emacs - 1.19
Ebuild name:

app-eselect/eselect-emacs-1.19

Description

Manage multiple Emacs versions on one system

Added to portage

2021-08-02

fleep - 1.0.1-r1
Ebuild name:

dev-python/fleep-1.0.1-r1

Description

File format determination library for Python

Added to portage

2021-08-02

fotoxx - 21.50
Ebuild name:

media-gfx/fotoxx-21.50

Description

Program for improving image files made with a digital camera

Added to portage

2021-08-02

gentoo-kernel-bin - 5.10.55-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.10.55-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-08-02

gentoo-kernel-bin - 5.13.7-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.13.7-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-08-02

gentoo-kernel-bin - 5.4.137-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.4.137-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-08-02

git-sources - 5.14_rc4
Ebuild name:

sys-kernel/git-sources-5.14_rc4

Description

The very latest -git version of the Linux kernel

Added to portage

2021-08-02

htmltidy - 0.99.0
Ebuild name:

app-text/htmltidy-0.99.0

Description

Tidy the layout and correct errors in HTML and XML documents

Added to portage

2021-08-02

htmltidy - 5.8.0-r1
Ebuild name:

app-text/htmltidy-5.8.0-r1

Description

Tidy the layout and correct errors in HTML and XML documents

Added to portage

2021-08-02

humanize - 3.11.0
Ebuild name:

dev-python/humanize-3.11.0

Description

Common humanization utilities

Added to portage

2021-08-02

hwinfo - 21.76
Ebuild name:

sys-apps/hwinfo-21.76

Description

Hardware detection tool used in SuSE Linux

Added to portage

2021-08-02

hydrus - 448
Ebuild name:

media-gfx/hydrus-448

Description

A booru-like media organizer for the desktop

Added to portage

2021-08-02

ipython - 7.26.0
Ebuild name:

dev-python/ipython-7.26.0

Description

Advanced interactive shell for Python

Added to portage

2021-08-02

iwd - 1.16
Ebuild name:

net-wireless/iwd-1.16

Description

Wireless daemon for linux

Added to portage

2021-08-02

jeepney - 0.7.1
Ebuild name:

dev-python/jeepney-0.7.1

Description

Low-level, pure Python DBus protocol wrapper

Added to portage

2021-08-02

jetbrains-mono - 2.242
Ebuild name:

media-fonts/jetbrains-mono-2.242

Description

A free and open-source typeface for developers

Added to portage

2021-08-02

juffed - 0.10_p20200103
Ebuild name:

app-editors/juffed-0.10_p20200103

Description

QScintilla-based tabbed text editor with syntax highlighting

Added to portage

2021-08-02

kafka-python - 2.0.2
Ebuild name:

dev-python/kafka-python-2.0.2

Description

Kafka protocol support in Python

Added to portage

2021-08-02

kdenlive - 21.04.3-r1
Ebuild name:

kde-apps/kdenlive-21.04.3-r1

Description

Non-linear video editing suite by KDE

Added to portage

2021-08-02

libXfont2 - 2.0.5
Ebuild name:

x11-libs/libXfont2-2.0.5

Description

X.Org Xfont library

Added to portage

2021-08-02

libXft - 2.3.4
Ebuild name:

x11-libs/libXft-2.3.4

Description

X.Org Xft library

Added to portage

2021-08-02

libcrafter - 1.0-r1
Ebuild name:

net-libs/libcrafter-1.0-r1

Description

A high level C++ network packet sniffing and crafting library

Added to portage

2021-08-02

lincity - 1.13.1-r2
Ebuild name:

games-simulation/lincity-1.13.1-r2

Description

City simulation game for X

Added to portage

2021-08-02

mate-power-manager - 1.24.3
Ebuild name:

mate-extra/mate-power-manager-1.24.3

Description

A session daemon for MATE that makes it easy to manage your la

Added to portage

2021-08-02

opera-developer - 79.0.4135.0
Ebuild name:

www-client/opera-developer-79.0.4135.0

Description

A fast and secure web browser

Added to portage

2021-08-02

pdns-recursor - 4.4.5
Ebuild name:

net-dns/pdns-recursor-4.4.5

Description

The PowerDNS Recursor

Added to portage

2021-08-02

pdns-recursor - 4.5.5
Ebuild name:

net-dns/pdns-recursor-4.5.5

Description

The PowerDNS Recursor

Added to portage

2021-08-02

postfix-logwatch - 1.40.04
Ebuild name:

net-mail/postfix-logwatch-1.40.04

Description

A log analyzer for postfix

Added to portage

2021-08-02

python-engineio - 4.2.1
Ebuild name:

dev-python/python-engineio-4.2.1

Description

Python implementation of the Engine.IO realtime server.

Added to portage

2021-08-02

python-lsp-server - 1.2.0
Ebuild name:

dev-python/python-lsp-server-1.2.0

Description

Python Language Server for the Language Server Protocol

Added to portage

2021-08-02

qt5ct - 1.3
Ebuild name:

x11-misc/qt5ct-1.3

Description

Qt5 configuration tool, similar to qtconfig for Qt4

Added to portage

2021-08-02

scons - 4.2.0-r1
Ebuild name:

dev-util/scons-4.2.0-r1

Description

Extensible Python-based build utility

Added to portage

2021-08-02

smpeg - 0.4.4-r11
Ebuild name:

media-libs/smpeg-0.4.4-r11

Description

SDL MPEG Player Library

Added to portage

2021-08-02

smpeg2 - 2.0.0-r4
Ebuild name:

media-libs/smpeg2-2.0.0-r4

Description

SDL MPEG Player Library

Added to portage

2021-08-02

solid - 5.84.0-r1
Ebuild name:

kde-frameworks/solid-5.84.0-r1

Description

Provider for platform independent hardware discovery, abstraction an

Added to portage

2021-08-02

spyder - 5.1.0
Ebuild name:

dev-python/spyder-5.1.0

Description

The Scientific Python Development Environment

Added to portage

2021-08-02

spyder-kernels - 2.1.0
Ebuild name:

dev-python/spyder-kernels-2.1.0

Description

Kernels used by spyder on its ipython console

Added to portage

2021-08-02

sslh - 1.20-r2
Ebuild name:

net-misc/sslh-1.20-r2

Description

Port multiplexer - accept both HTTPS and SSH connections on the same port

Added to portage

2021-08-02

sslh - 1.21-r2
Ebuild name:

net-misc/sslh-1.21-r2

Description

Port multiplexer - accept both HTTPS and SSH connections on the same port

Added to portage

2021-08-02

sslh - 1.21b-r2
Ebuild name:

net-misc/sslh-1.21b-r2

Description

Port multiplexer - accept both HTTPS and SSH connections on the same port

Added to portage

2021-08-02

sslh - 1.21c-r2
Ebuild name:

net-misc/sslh-1.21c-r2

Description

Port multiplexer - accept both HTTPS and SSH connections on the same port

Added to portage

2021-08-02

stone-soup - 0.27.0
Ebuild name:

games-roguelike/stone-soup-0.27.0

Description

Role-playing roguelike game of exploration and treasure-hunting i

Added to portage

2021-08-02

tty-editor - 0.7.0
Ebuild name:

dev-ruby/tty-editor-0.7.0

Description

Opens a file or text in the user's preferred editor

Added to portage

2021-08-02

udev - 248-r1
Ebuild name:

sys-fs/udev-248-r1

Description

Linux dynamic and persistent device naming support (aka userspace devfs)

Added to portage

2021-08-02

udev - 249-r2
Ebuild name:

sys-fs/udev-249-r2

Description

Linux dynamic and persistent device naming support (aka userspace devfs)

Added to portage

2021-08-02

xboxdrv - 0.8.8_p20190118-r1
Ebuild name:

games-util/xboxdrv-0.8.8_p20190118-r1

Description

Userspace Xbox 360 Controller driver

Added to portage

2021-08-02

xeyes - 1.2.0
Ebuild name:

x11-apps/xeyes-1.2.0

Description

X.Org xeyes application

Added to portage

2021-08-02

xorg-cf-files - 1.0.7
Ebuild name:

x11-misc/xorg-cf-files-1.0.7

Description

Old Imake-related build files

Added to portage

2021-08-02

xorg-server - 1.20.11-r4
Ebuild name:

x11-base/xorg-server-1.20.11-r4

Description

X.Org X servers

Added to portage

2021-08-02

xorg-server - 1.20.13-r1
Ebuild name:

x11-base/xorg-server-1.20.13-r1

Description

X.Org X servers

Added to portage

2021-08-02

xwd - 1.0.8
Ebuild name:

x11-apps/xwd-1.0.8

Description

dump an image of an X window

Added to portage

2021-08-02

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 64.9 ms