Δίνοντας options στην εντολή time

Christos Ricudis ricudis at itc.auth.gr
Fri May 30 16:14:51 EEST 2008


George Notaras wrote:
> George Notaras wrote:
>
>>   /usr/bin/time -f "MaxResident : %M\nNrSwappedOut: %W" -- \
>>       tar -czvf test.tar.gz VBox-Src/
>>
>
> Ή μαλλον ένα άλλο παράδειγμα πιο χαρακτηριστικό:
>
>   /usr/bin/time -f "MaxResident : %M\nNrSwappedOut: %W" -- \
>       beagled --fg --debug-memory
>
>
> Μετά από λίγο από άλλο terminal:
>
>   beagle-shutdown
>
>
> Στο 1ο terminal δείχνει:
>
>   MaxResident : 0
>   NrSwappedOut: 0
>
>
> -- 
> linux-greek-users mailing list -- http://lists.hellug.gr

E koita, ama 8es ena PRAGMATIKO paradeigma oti de leitourgei, pare ayto 
edw :

/usr/bin/time -f "MaxResident : %M\nNrSwappedOut: %W" -- 
firefox                 

...

MaxResident : 0
NrSwappedOut: 0

Apla, opws leei kai to manual page ths time(1) :

       Most information shown by time is derived from the wait3(2) 
system  call.
       The  numbers  are only as good as those returned by wait3(2).  On 
systems
       that do not have a wait3(2) call that  returns  status  
information,  the
       times(2) system call is used instead.  However, it provides much 
less in-
       formation than wait3(2), so on those systems time reports the 
majority of
       the resources as zero.






More information about the Linux-greek-users mailing list