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:

57600

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-04-15
bedrock-server - 1.16.220.02
Ebuild name:

games-server/bedrock-server-1.16.220.02

Description

The official bedrock (non-java) based server for the sandbo

Added to portage

2021-04-15

chrome-binary-plugins - 90.0.4430.72_beta
Ebuild name:

www-plugins/chrome-binary-plugins-90.0.4430.72_beta

Description

Binary plugins from Google Chrome for use in Ch

Added to portage

2021-04-15

chromium - 89.0.4389.128
Ebuild name:

www-client/chromium-89.0.4389.128

Description

Open-source version of Google Chrome web browser

Added to portage

2021-04-15

d-feet - 0.3.15
Ebuild name:

dev-util/d-feet-0.3.15

Description

D-Feet is a powerful D-Bus debugger

Added to portage

2021-04-15

docker-compose - 1.29.1
Ebuild name:

app-emulation/docker-compose-1.29.1

Description

Multi-container orchestration for Docker

Added to portage

2021-04-15

ebuildtester - 0.1.29
Ebuild name:

dev-python/ebuildtester-0.1.29

Description

A dockerized approach to test a Gentoo package within a clean stage3

Added to portage

2021-04-15

fluidsynth - 2.2.0-r1
Ebuild name:

media-sound/fluidsynth-2.2.0-r1

Description

Software real-time synthesizer based on the Soundfont 2 specificati

Added to portage

2021-04-15

gentoo-sources - 4.19.187
Ebuild name:

sys-kernel/gentoo-sources-4.19.187

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2021-04-15

gentoo-sources - 5.10.30
Ebuild name:

sys-kernel/gentoo-sources-5.10.30

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2021-04-15

gentoo-sources - 5.11.14
Ebuild name:

sys-kernel/gentoo-sources-5.11.14

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2021-04-15

gentoo-sources - 5.4.112
Ebuild name:

sys-kernel/gentoo-sources-5.4.112

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2021-04-15

gnome-shell-frippery - 40.0
Ebuild name:

gnome-extra/gnome-shell-frippery-40.0

Description

Unofficial extension pack providing GNOME 2-like features for

Added to portage

2021-04-15

google-chrome-beta - 90.0.4430.72
Ebuild name:

www-client/google-chrome-beta-90.0.4430.72

Description

The web browser from Google

Added to portage

2021-04-15

libhandy - 1.2.1
Ebuild name:

gui-libs/libhandy-1.2.1

Description

Building blocks for modern adaptive GNOME apps

Added to portage

2021-04-15

lua-openssl - 0.8.0_p6
Ebuild name:

dev-lua/lua-openssl-0.8.0_p6

Description

OpenSSL binding for Lua

Added to portage

2021-04-15

luarocks - 3.7.0
Ebuild name:

dev-lua/luarocks-3.7.0

Description

A package manager for the Lua programming language

Added to portage

2021-04-15

sord - 0.16.8-r1
Ebuild name:

dev-libs/sord-0.16.8-r1

Description

Library for storing RDF data in memory

Added to portage

2021-04-15

sword-JCRHoliness - 1.0
Ebuild name:

app-dicts/sword-JCRHoliness-1.0

Description

Holiness by J. C. Ryle

Added to portage

2021-04-15

tdrop - 0.4.0
Ebuild name:

x11-misc/tdrop-0.4.0

Description

WM-Independent Dropdown Creator

Added to portage

2021-04-15

xom - 1.3.7
Ebuild name:

dev-java/xom-1.3.7

Description

XML Object Model

Added to portage

2021-04-15

2021-04-14
Faker - 8.1.0
Ebuild name:

dev-python/Faker-8.1.0

Description

A Python package that generates fake data for you

Added to portage

2021-04-14

ansible-base - 2.10.8
Ebuild name:

app-admin/ansible-base-2.10.8

Description

Model-driven deployment, config management, and command execution fra

Added to portage

2021-04-14

apple-java-extensions-bin - 1.5-r2
Ebuild name:

dev-java/apple-java-extensions-bin-1.5-r2

Description

Apple eAWT and eIO APIs for Java on Mac OS X

Added to portage

2021-04-14

atpublic - 2.3
Ebuild name:

dev-python/atpublic-2.3

Description

A decorator to populate __all__ and the module globals

Added to portage

2021-04-14

boto3 - 1.17.51
Ebuild name:

dev-python/boto3-1.17.51

Description

The AWS SDK for Python

Added to portage

2021-04-14

botocore - 1.20.51
Ebuild name:

dev-python/botocore-1.20.51

Description

Low-level, data-driven core of boto 3

Added to portage

2021-04-14

calf - 0.90.3-r1
Ebuild name:

media-plugins/calf-0.90.3-r1

Description

A set of open source instruments and effects for digital audio worksta

Added to portage

2021-04-14

chrome-binary-plugins - 89.0.4389.128
Ebuild name:

www-plugins/chrome-binary-plugins-89.0.4389.128

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2021-04-14

colorlog - 5.0.1
Ebuild name:

dev-python/colorlog-5.0.1

Description

Log formatting with colors

Added to portage

2021-04-14

croniter - 1.0.12
Ebuild name:

dev-python/croniter-1.0.12

Description

Python module to provide iteration for datetime object

Added to portage

2021-04-14

csound - 6.15.0-r101
Ebuild name:

media-sound/csound-6.15.0-r101

Description

Sound design and signal processing system for composition and perfor

Added to portage

2021-04-14

decorator - 5.0.7
Ebuild name:

dev-python/decorator-5.0.7

Description

Simplifies the usage of decorators for the average programmer

Added to portage

2021-04-14

duecredit - 0.9.1
Ebuild name:

dev-python/duecredit-0.9.1

Description

Publications (and donations) tracer

Added to portage

2021-04-14

esmtp - 1.2-r2
Ebuild name:

mail-mta/esmtp-1.2-r2

Description

User configurable relay-only Mail Transfer Agent with a sendmail-like syntax

Added to portage

2021-04-14

exo - 1.27.2
Ebuild name:

app-admin/exo-1.27.2

Description

Command-line tool for everything at Exoscale compute, storage, dns.

Added to portage

2021-04-14

fwupd - 1.4.8
Ebuild name:

sys-apps/fwupd-1.4.8

Description

Aims to make updating firmware on Linux automatic, safe and reliable

Added to portage

2021-04-14

fwupd - 1.5.9
Ebuild name:

sys-apps/fwupd-1.5.9

Description

Aims to make updating firmware on Linux automatic, safe and reliable

Added to portage

2021-04-14

gargantuan-icon-theme - 1.7
Ebuild name:

x11-themes/gargantuan-icon-theme-1.7

Description

Gargantuan Icon Theme

Added to portage

2021-04-14

gargantuan-icon-theme - 1.7
Ebuild name:

x11-themes/gargantuan-icon-theme-1.7

Description

Gargantuan Icon Theme

Added to portage

2021-04-14

gartoon - 0.5-r2
Ebuild name:

x11-themes/gartoon-0.5-r2

Description

Gartoon SVG icon theme

Added to portage

2021-04-14

gartoon - 0.5-r2
Ebuild name:

x11-themes/gartoon-0.5-r2

Description

Gartoon SVG icon theme

Added to portage

2021-04-14

gartoon-redux - 1.10-r1
Ebuild name:

x11-themes/gartoon-redux-1.10-r1

Description

A massively improved variant of the well-known Gartoon theme

Added to portage

2021-04-14

gartoon-redux - 1.10-r1
Ebuild name:

x11-themes/gartoon-redux-1.10-r1

Description

A massively improved variant of the well-known Gartoon theme

Added to portage

2021-04-14

geany-themes - 1.22.2-r1
Ebuild name:

x11-themes/geany-themes-1.22.2-r1

Description

A collection of colour schemes for Geany

Added to portage

2021-04-14

geany-themes - 1.22.2-r1
Ebuild name:

x11-themes/geany-themes-1.22.2-r1

Description

A collection of colour schemes for Geany

Added to portage

2021-04-14

gnome-usage - 3.38.1
Ebuild name:

sys-process/gnome-usage-3.38.1

Description

A nice way to view information about use of system resources.

Added to portage

2021-04-14

google-api-python-client - 2.2.0
Ebuild name:

dev-python/google-api-python-client-2.2.0

Description

Google API Client for Python

Added to portage

2021-04-14

google-chrome - 89.0.4389.128
Ebuild name:

www-client/google-chrome-89.0.4389.128

Description

The web browser from Google

Added to portage

2021-04-14

grafana-bin - 7.5.4
Ebuild name:

www-apps/grafana-bin-7.5.4

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenT

Added to portage

2021-04-14

imagemagick - 6.9.12.7
Ebuild name:

media-gfx/imagemagick-6.9.12.7

Description

A collection of tools and libraries for many image formats

Added to portage

2021-04-14

imagemagick - 7.0.11.7
Ebuild name:

media-gfx/imagemagick-7.0.11.7

Description

A collection of tools and libraries for many image formats

Added to portage

2021-04-14

irqbalance - 1.8.0
Ebuild name:

sys-apps/irqbalance-1.8.0

Description

Distribute hardware interrupts across processors on a multiprocessor syst

Added to portage

2021-04-14

jaxen - 1.1.6-r2
Ebuild name:

dev-java/jaxen-1.1.6-r2

Description

A Java XPath Engine

Added to portage

2021-04-14

jaxen - 1.2.0
Ebuild name:

dev-java/jaxen-1.2.0

Description

Jaxen is a universal XPath engine for Java.

Added to portage

2021-04-14

lammps - 20200303-r1
Ebuild name:

sci-physics/lammps-20200303-r1

Description

Large-scale Atomic/Molecular Massively Parallel Simulator

Added to portage

2021-04-14

mariadb - 10.5.9-r5
Ebuild name:

dev-db/mariadb-10.5.9-r5

Description

An enhanced, drop-in replacement for MySQL

Added to portage

2021-04-14

microsoft-edge-dev - 91.0.852.0
Ebuild name:

www-client/microsoft-edge-dev-91.0.852.0

Description

The web browser from Microsoft

Added to portage

2021-04-14

minetest - 5.4.1
Ebuild name:

games-action/minetest-5.4.1

Description

A free open-source voxel game engine with easy modding and game creatio

Added to portage

2021-04-14

motion - 4.3.2-r1
Ebuild name:

media-video/motion-4.3.2-r1

Description

A software motion detector

Added to portage

2021-04-14

mujs - 1.1.1
Ebuild name:

dev-lang/mujs-1.1.1

Description

An embeddable JavaScript interpreter in C

Added to portage

2021-04-14

nautilus - 40.0
Ebuild name:

gnome-base/nautilus-40.0

Description

Default file manager for the GNOME desktop

Added to portage

2021-04-14

nessus-agent-bin - 8.2.4
Ebuild name:

net-analyzer/nessus-agent-bin-8.2.4

Description

A remote security scanner for Linux - agent component

Added to portage

2021-04-14

nessus-bin - 8.14.0
Ebuild name:

net-analyzer/nessus-bin-8.14.0

Description

A remote security scanner for Linux

Added to portage

2021-04-14

nginx - 1.19.10
Ebuild name:

www-servers/nginx-1.19.10

Description

Robust, small and high performance http and reverse proxy server

Added to portage

2021-04-14

openrc - 0.43.2
Ebuild name:

sys-apps/openrc-0.43.2

Description

OpenRC manages the services, startup and shutdown of a host

Added to portage

2021-04-14

pyglet - 1.5.16
Ebuild name:

dev-python/pyglet-1.5.16

Description

Cross-platform windowing and multimedia library for Python

Added to portage

2021-04-14

reportlab - 3.5.67
Ebuild name:

dev-python/reportlab-3.5.67

Description

Tools for generating printable PDF documents from any data source

Added to portage

2021-04-14

requests-cache - 0.6.1
Ebuild name:

dev-python/requests-cache-0.6.1

Description

Persistent cache for requests library

Added to portage

2021-04-14

s3transfer - 0.3.7
Ebuild name:

dev-python/s3transfer-0.3.7

Description

An Amazon S3 Transfer Manager

Added to portage

2021-04-14

swift - 2.27.0
Ebuild name:

sys-cluster/swift-2.27.0

Description

A highly available, distributed, and eventually consistent object/blob sto

Added to portage

2021-04-14

swift - 2021.1.9999
Ebuild name:

sys-cluster/swift-2021.1.9999

Description

A highly available, distributed, and eventually consistent object/blo

Added to portage

2021-04-14

sword-JCRHoliness - 1.0
Ebuild name:

app-dicts/sword-JCRHoliness-1.0

Description

Holiness by J. C. Ryle

Added to portage

2021-04-14

sword-JEAffections - 1.0
Ebuild name:

app-dicts/sword-JEAffections-1.0

Description

Religious Affections by Jonathan Edwards

Added to portage

2021-04-14

timeout-decorator - 0.5.0
Ebuild name:

dev-python/timeout-decorator-0.5.0

Description

Timeout decorator

Added to portage

2021-04-14

tracker - 3.1.1
Ebuild name:

app-misc/tracker-3.1.1

Description

A tagging metadata database, search tool and indexer

Added to portage

2021-04-14

tracker-miners - 2.3.5-r1
Ebuild name:

app-misc/tracker-miners-2.3.5-r1

Description

Collection of data extractors for Tracker/Nepomuk

Added to portage

2021-04-14

tracker-miners - 3.1.1
Ebuild name:

app-misc/tracker-miners-3.1.1

Description

Collection of data extractors for Tracker/Nepomuk

Added to portage

2021-04-14

vanilla-sources - 4.19.187
Ebuild name:

sys-kernel/vanilla-sources-4.19.187

Description

Full sources for the Linux kernel

Added to portage

2021-04-14

vanilla-sources - 5.10.30
Ebuild name:

sys-kernel/vanilla-sources-5.10.30

Description

Full sources for the Linux kernel

Added to portage

2021-04-14

vanilla-sources - 5.11.14
Ebuild name:

sys-kernel/vanilla-sources-5.11.14

Description

Full sources for the Linux kernel

Added to portage

2021-04-14

vanilla-sources - 5.4.112
Ebuild name:

sys-kernel/vanilla-sources-5.4.112

Description

Full sources for the Linux kernel

Added to portage

2021-04-14

wsdl4j - 1.6.2-r1
Ebuild name:

dev-java/wsdl4j-1.6.2-r1

Description

Web Services Description Language for Java Toolkit (WSDL4J)

Added to portage

2021-04-14

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: 92.6 ms