genlop

From Gentoo Wiki
Jump to:navigation Jump to:search

Resources

genlop is a utility for extracting information about emerged ebuilds from Portage log files (/var/log/emerge.log). Genlop is written in Perl.

Features

Detailed features include:

  • Colorful output.
  • Full Portage merge and unmerge history.
  • Display date, time, and build time of every merge.
  • Display total and average build time of selected ebuilds.
  • Estimate upgrade time.
  • Watching current merge progress.
  • Use alternate portage logfile(s).
  • Compressed logfiles (gzip, bzip2) are supported
  • Match ebuild names using regular expressions.
  • Log corruption detection.
  • Display build specific USE and CFLAGS variables.
  • GMT/UTC or localized time and date.
  • Full portage rsync history.

Installation

Emerge

root #emerge --ask app-portage/genlop

Usage

Invocation

user $genlop -h

See the man page for full option explanation and usage examples.

example: Refresh status every 10 seconds

user $watch -cn 10 genlop -ci
Every 10.0s: genlop -ci                            mypc: Tue May 30 03:43:20 2017


 Currently merging 2 out of 3

 * www-client/firefox-53.0.3 

       current merge time: 6 minutes and 30 seconds.
       ETA: 11 minutes and 24 seconds.

See also