]> git.saurik.com Git - apple/system_cmds.git/blobdiff - taskpolicy.tproj/taskpolicy.8
system_cmds-643.1.1.tar.gz
[apple/system_cmds.git] / taskpolicy.tproj / taskpolicy.8
index eb136ed2f3e9a7adfc891c151c22246b1d803922..4eff832f634ce9b09e11b3a722db09d54867f016 100644 (file)
@@ -3,16 +3,25 @@
 .Os Darwin\r
 .Sh NAME\r
 .Nm taskpolicy\r
-.Nd execute a program with an altered I/O or scheduling policy\r
+.Nd execute a program with an altered I/O or scheduling policy or change settings of already running process\r
 .Sh SYNOPSIS\r
 .Nm\r
 .Op Fl d Ar policy\r
+.Op Fl g Ar policy\r
+.Op Fl c Ar clamp\r
 .Op Fl b\r
+.Op Fl t Ar thruput_tier\r
+.Op Fl l Ar latency_tier\r
 .Ar program\r
 .Oo\r
 .Ar arg1\r
 .Op Ar ...\r
 .Oc\r
+.Nm\r
+.Op Fl b|-B\r
+.Op Fl t Ar thruput_tier\r
+.Op Fl l Ar latency_tier\r
+.Op Fl p Ar pid\r
 .Sh DESCRIPTION\r
 The\r
 .Nm\r
@@ -38,10 +47,26 @@ Run the program after calling
 with an iotype of IOPOL_TYPE_DISK, a scope of IOPOL_SCOPE_DARWIN_BG, and the\r
 specified policy. The argument is interpreted in the same manor as\r
 .Fl d .\r
+.It Fl c Ar clamp\r
+Run the program using the specified QoS clamp. The argument can be either\r
+"utility", "background", or "maintenance", which is interpreted case-insensitively.\r
+.It Fl p Ar pid\r
+Change settings for the process specified by\r
+.Ar pid .\r
 .It Fl b\r
 Run the program after calling\r
 .Xr setpriority 2\r
 with a priority of PRIO_DARWIN_BG.\r
+.It Fl B\r
+Move target process out of PRIO_DARWIN_BG.\r
+.It Fl t\r
+Set throughput tier of the process to \r
+.Ar thruput_tier .\r
+.It Fl l \r
+Set latency tier of the process to \r
+.Ar latency_tier .\r
+\r
+\r
 .El\r
 .Pp\r
 .Sh SEE ALSO \r