View the status of a long emerge

by
on
December 31, 2008

At certain times while using Gentoo you are going to have to perform a large emerge, for example when you do an update world. It can be challenging to keep track of the status of this emerge with all the output flying by on the screen. It can also become a problem if you want to check on the status from another machine that did not initiate the emerge.

Thankfully you can check the /var/log/emerge.log and get the current status.

Run this command to see the last 10 lines of the log.

$ sudo tail /var/log/emerge.log

You can combine this command with watch and get real-time updates. This command will automatically update every second.

$ watch -n 1 "sudo tail /var/log/emerge.log"

Likewise you can use the ‘-f‘ tail option to get updates.

$ sudo tail -f /var/log/emerge.log

2 Comments
gentoo
, , , , , , ,

Related posts:

  1. View program output with watch
  2. Speed up Gentoo emerge with “parallel-fetch”
  3. Find the exit status of a previous command in Bash
  4. Display the last part of a file with tail
  5. Update your entire Gentoo Linux system

Comments (2)

Alternatively, you can emerge the gentool-package (which also contains revdep-rebuild) and use

watch genlop -c -n

to keep updated on the currently compiling package and the ETA for this package.

sorry, the package is called
“gentool-kit”

Trackbacks (0)

No trackbacks yet

Leave a Comment

(displayed with your post)
(will not be published)
(optional)

Copyright 2008-2010 WiredRevolution.com. All rights reserved.