About "time yum --help".

Vinicius cviniciusm at terra.com.br
Wed Jan 12 17:43:44 UTC 2005


Mogens Kjaer escreveu:
> Vinicius wrote:
> 
>> Hello,
>>
>> time yum --help takes:
>> real    0m7.125s
>> user    0m0.404s
>> sys     0m0.039s
>>
>> rpm -q yum: yum-2.1.12-0.fc3
>>
>> Why, please?
> 
> 
> You can do a:
> 
> strace -t -o/tmp/yum.log yum --help
> 
> and look in the /tmp/yum.log file where
> the bottleneck is.
> 
> Mogens
> 

I see several lines as "open("/usr/lib/python2.3/lib-dynload/yum.so", 
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)" for example.

Is it relevant?




More information about the fedora-list mailing list