X-Git-Url: https://git.saurik.com/apple/shell_cmds.git/blobdiff_plain/57cab491e7f6d6f2e4d1854b8d1ee959c064b1bb..b6d8bf77ecd750be7758113da9f38b27bfecfc17:/systime/systime.1 diff --git a/systime/systime.1 b/systime/systime.1 index 43fb81f..ce296b6 100644 --- a/systime/systime.1 +++ b/systime/systime.1 @@ -7,14 +7,23 @@ .Sh SYNOPSIS .Nm .Op Fl P +.Op Fl r +.Op Fl t Ar sleep_time .Ar utility Op Ar argument ... .Nm .Fl p +.Op Fl r +.Op Fl t Ar sleep_time .Nm .Op Fl P .Fl u Ar user .Fl s Ar sys .Fl i Ar idle +.Nm +.Op Fl P +.Op Fl r +.Op Fl t Ar sleep_time +.Fl T Ar target_pid .Sh DESCRIPTION .Nm is similar to @@ -45,9 +54,23 @@ $ systime -u $systime_user -s $systime_sys -i $systime_idle 18.79 real 2.03 user 1.04 sys .Ed .Pp +The +.Nm +program can also be used to print the usage of a process with +.Fl T Ar target_pid +, also printing the system wide usage +.Pp .Fl P can be used to print time spent as a percentage of overall CPU capacity of the system (capped at 100%) +.Pp +.Fl r +can be used to print the usage iteratively with +.Ar sleep_time +seconds sleep between iterations +.Pp +.Fl t Ar sleep_time +can be used to specify sleep_time between iterations, defaults to 1 second if not specified. .Sh SEE ALSO .Xr time 1 , .Xr top 1