LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 637|回复: 4

怎么可以记录更详细emerge的log?

[复制链接]
发表于 2005-2-10 11:31:34 | 显示全部楼层 |阅读模式
今天在emerge -uD system的时候,幸好只升级了一个pam,emerge的提示信息才不至于被gnome-terminal的滚屏淹没,按如下提示照做就是了。
  1. QA Notice: /sbin/unix_chkpwd is setXid, dynamically linked and using lazy bindings.
  2. This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge pam
  3. QA Notice: /sbin/pwdb_chkpwd is setXid, dynamically linked and using lazy bindings.
  4. This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge pam
  5. QA Notice: /sbin/pam_timestamp_check is setXid, dynamically linked and using lazy bindings.
  6. This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge pam
复制代码

试问如果一次emerge多个如emerge -uD world的时候,这类看似不太紧要的信息只是一闪而过。就算是standby也来不及回看呀!
发表于 2005-2-10 15:01:11 | 显示全部楼层
# emerge -uDpv world | tee world.txt
# emerge -uD world | tee >> world.txt
注意这个world.txt可能会很大的(或许加上--quiet (-q)的选项会好点)。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-10 15:47:00 | 显示全部楼层
个人倒是很喜欢porthole的Porthole-Terminal的记录方式--Process、summary和Warning的分栏显示。只是用惯了命令行~~什么时候emerge加入这样的选项就好了。
谢谢Hauser。# emerge -uD world | tee >> world.txt --quiet 试试看先
回复 支持 反对

使用道具 举报

发表于 2005-2-10 16:18:24 | 显示全部楼层
呵呵,头一次注意到emerge还有个--quiet的选项。
回复 支持 反对

使用道具 举报

发表于 2005-2-13 15:16:36 | 显示全部楼层
emerge -uD world >& log
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表