Gentoo Archives: gentoo-user

From: Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage telling me what it's doing
Date: Sat, 02 Jun 2012 07:01:28
Message-Id: 4FC9B9CD.1050907@fu-berlin.de
In Reply to: [gentoo-user] Portage telling me what it's doing by Andrew Lowe
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 02.06.2012 08:08, Andrew Lowe wrote:
5 > Hi all, I've just kicked off an "emerge -NuD world" and will now
6 > head out for a while. My emerge has to do, amongst others, gcc,
7 > libreoffice, Firefox & Thunderbird. Now when I get back I'll want
8 > to know where the emerge is up to so, in my ignorance of
9 > portage/emerge in great depth and with only compiler output spewing
10 > up the screen, I'll fire up another terminal, and now don't laugh,
11 > I'll do "emerge --pretend -NuD world". That will tell me what's
12 > currently being compiled as it will be the top thingy on the list.
13 > There has to be a better way....
14 >
15 > Is there a way so that the terminal that the emerge is happening
16 > in can display additional info? At the moment, I get:
17 <SNIP>
18 > here..." sort of thing.
19 >
20 > Any thoughts, greatly appreciated,
21 >
22 > Andrew
23 >
24
25 I normally issue something like
26
27 cat /var/log/emerge.log | grep -i compiling | tail -n 1
28
29 from another terminal. It shows the last package for which compiling
30 started. if you change the -n 1 to -n 2 it'll show the last 2 packages
31 (if you leave it out, you'll get the last 10).
32 You could also replace compiling with i.e. merge (then it'll look for
33 another part of the build process.
34
35 Otherwise (like Walter stated) most terminals within X (that I've
36 tried) add this info to the titlebar.
37
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v2.0.19 (GNU/Linux)
40 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
41
42 iQEcBAEBAgAGBQJPybnNAAoJEJwwOFaNFkYcBkYH/35c9bgkWUyFORyPfcqsYvPA
43 qAgKTBpS9i4FdA+TJYKBP+DpkNvlQlCtyb3I3YrrADSZKrQIopX9He55FDrxDh+6
44 /iySLA7/0DgKlJgxTofrXbJHpvZHsCjRF21UQJdk57RYD6JBGarCywJF52vNkNVz
45 c2C9FfeZHXM1CdqWHApIE0UPa+mq6mnk81XrzbQ39PT6ObLuxVpsD8hVPO5puMLD
46 +yYD3thNWyXx3WkDq1ZaR+sT+ZfYKjezByLS+N4Nj+BAAa5yC8I3A8b1HzCylo6d
47 sfbltqbLSHdTtQhZJQq7EHqbqjJ3xs0HUkhzNqRHNJIoMFVkyQs3VnuHjjvNMBE=
48 =WvQg
49 -----END PGP SIGNATURE-----