[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: time 命令一问?



也许只是磁盘读写速度跟不上CPU而已。

On 8/23/05, Miliardo Peacecraft <miliardo.p@gmail.com> wrote:
> 看来楼主系统后台的负担很重……
> 或者是md5sum有没有派生子进程?
> 在05-8-22,SDiZ <gmane@sdiz.net> 写道:
> > 肖盛文(Faris Xiao) wrote:
> > > 我用 md5sum 校验 debian 的 DVD iso 文件。
> > > 用 time 命令统计时间,结果如下:
> > >
> > >  time md5sum *.iso
> > > 9f40fb950e3786e925cf1252cfdc012d 
> debian-31r0a-source-1.iso
> > > 9241f8ebb1c6fe68481fa9057625cc5e  
> debian-31r0a-source-2.iso
> > > d46a107797aff6ea70133e515d1ad968 
> debian-31r0a-source-3.iso
> > >
> > > real    3m46.722s
> > > user    0m47.575s
> > > sys     0m7.042s
> > >
> > >
> > > 在这里,user 和 sys 的时间加起来,小于 real 的时间, 
> > >
> > > 那么还有 2 分多钟的时间花在了什么地方?man time 了一下,也没有看出什么眉
> > > 目来。
> > 
> > Other processes on the system.
> > Context Switching are not included in sys time.
> > 
> > >
> > --
> > 
> > 
> > 
> > 
> 
>  


-- 
LI Daobing

Reply to: