gentoo.LinuxHowtos.orgedit this article

Using the Gentoo Log Parser (genlop)

This tip introduces the Gentoo Log Parser (genlop), which is a utility to create useful reports from your /var/log/emerge.log file. To get started with genlop, you'll need to install it using the following command: emerge app-portage/genlop.

We can now use genlop to look at the merge history for a package (or your entire system), and to calculate the merge times for various packages. The following example looks at the merge history for Mozilla.

Code Listing 1: Using genlop

% genlop -t mozilla 
 
 * net-www/mozilla 
 
     Merged   at Fri Jan  3 19:29:16 2003    (mozilla-1.2.1-r4) 
       merge time: 1 hour, 35 minutes and 6 seconds. 
 
     Merged   at Fri Mar 21 20:59:45 2003    (mozilla-1.2.1-r5) 
       merge time: 2 hours, 53 minutes and 4 seconds. 
 
     Merged   at Thu Jun 12 15:55:58 2003    (mozilla-1.3-r1) 
       merge time: 3 hours, 28 minutes and 37 seconds. 
 
     Merged   at Wed Jun 25 16:29:38 2003    (mozilla-1.3-r2) 
       merge time: 2 hours, 43 minutes and 47 seconds. 
 
     Merged   at Wed Jul 23 18:36:58 2003    (mozilla-1.4) 
       merge time: 2 hours, 2 minutes and 24 seconds. 
 
     Merged   at Wed Oct  1 14:49:31 2003    (mozilla-1.4-r3) 
       merge time: 3 hours, 20 minutes and 38 seconds. 
 
 merged totally 6 times in 16 hours, 3 minutes and 36 seconds. 
 average merge time: 2 hours, 40 minutes and 36 seconds.

Note: Type genlop to see the other options available.

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


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

back