Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man1/rusage.1
Real path: /usr/share/man/man1/rusage.1
Zurück
'\" te .\" Copyright (c) 2003, 2022, Oracle and/or its affiliates. .TH rusage 1 "29 Nov 2022" "Oracle Solaris 11.4" "User Commands" .SH NAME rusage \- print resource usage for a command .SH SYNOPSIS .LP .nf \fB/usr/bin/rusage\fR \fIcommand\fR .fi .SH DESCRIPTION .sp .LP The \fBrusage\fR command executes the specified \fIcommand\fR, and on completion, provides provides detailed resource usage statistics. It is similar to the \fBtime\fR(1) utility in syntax and usage. Unlike the C shell's timing facility, the \fIcommand\fR to run is not optional and must be specified. .sp .LP When the command is complete, \fBrusage\fR displays the real (wall clock), the system \fBCPU\fR, and the user \fBCPU\fR times which elapsed during execution of the command, plus other fields in the \fBrusage\fR structure, all on one long line. Times are reported in seconds and hundredths of a second. .SH EXAMPLES .LP \fBExample 1\fR The format of rusage output .sp .LP The example below shows the format of \fBrusage\fR output. .sp .in +2 .nf example% \fBrusage wc /usr/share/man/man1/csh.1\fR 3045 13423 78071 /usr/share/man/man1/csh.1 2.26 real 0.80 user 0.36 sys 11 pf 38 pr 0 sw 11 rb 0 wb 16 vcx 37 icx 24 mx 0 ix 1230 id 9 is .fi .in -2 .sp .sp .LP Each of the fields identified corresponds to an element of the \fBrusage\fR structure, as described in \fBgetrusage\fR(3C), as follows: .sp .TS tab( ); lw(0.69i) lw(1.38i) lw(3.44i) . \fBreal\fR \fBelapsed real time\fR \fBuser\fR \fBru_utime\fR \fBuser time used\fR \fBsys\fR \fBru_stime\fR \fBsystem time used\fR \fBpf\fR \fBru_majflt\fR \fBpage faults requiring physical I/O\fR \fBpr\fR \fBru_minflt\fR \fBpage faults not requiring physical I/O\fR \fBsw\fR \fBru_nswap\fR \fBswaps\fR \fBrb\fR \fBru_inblock\fR \fBblock input operations\fR \fBwb\fR \fBru_oublock\fR \fBblock output operations\fR \fBvcx\fR \fBru_nvcsw\fR \fBvoluntary context switches\fR \fBicx\fR \fBru_nivcsw\fR \fBinvoluntary context switches\fR \fBmx\fR \fBru_maxrss\fR \fBmaximum resident set size\fR \fBix\fR \fBru_ixrss\fR \fBcurrently 0\fR \fBid\fR \fBru_idrss\fR \fBintegral resident set size\fR \fBis\fR \fBru_isrss\fR \fBcurrently 0\fR .TE .sp .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/core-os .TE .sp .SH SEE ALSO .sp .LP \fBcsh\fR(1), \fBptime\fR(1), \fBtime\fR(1), \fBgetrusage\fR(3C), \fBattributes\fR(7) .SH BUGS .sp .LP When the command being timed is interrupted, the timing values displayed may be inaccurate.