Re: how much processor time is allocated to a program
On Tue, Feb 23, 1999 at 05:30:30PM +0000, Oliver Elphick wrote:
> The program is called `time'; it is not a standalone program but part of
> bash:
> olly@linda$ type time
> time is a shell keyword
> olly@linda$ help time
Just a side note: There is also a standalone time program called GNU time
for shell that don't have the time keyword. The semantics are a bit
differents and it reports other informations too.
root@riverdale:~# /usr/bin/time --verbose runq
Command being timed: "runq"
User time (seconds): 0.03
System time (seconds): 0.02
Percent of CPU this job got: 106%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.04
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 216
Minor (reclaiming a frame) page faults: 116
Voluntary context switches: 0
Involuntary context switches: 0
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
Regards,
E.
Reply to: