osx man page for taskpolicy

Query: taskpolicy

OS: osx

Section: 8

Links: osx man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

taskpolicy(8)						    BSD System Manager's Manual 					     taskpolicy(8)

NAME
taskpolicy -- execute a program with an altered I/O or scheduling policy
SYNOPSIS
taskpolicy [-d policy] [-b] program [arg1 [...]]
DESCRIPTION
The taskpolicy program uses the setiopolicy_np(3) and setpriority(2) APIs to execute a program with altered I/O or scheduling policies. All children of the specified program also inherit these policies. taskpolicy accepts the following flags and arguments: -d policy Run the program after calling setiopolicy_np(3) with an iotype of IOPOL_TYPE_DISK, a scope of IOPOL_SCOPE_PROCESS, and the specified policy. The argument can either be an integer, or a symbolic string like "default" or "throttle", which is inter- preted case-insensitively. -g policy Run the program after calling setiopolicy_np(3) with an iotype of IOPOL_TYPE_DISK, a scope of IOPOL_SCOPE_DARWIN_BG, and the specified policy. The argument is interpreted in the same manor as -d. -b Run the program after calling setpriority(2) with a priority of PRIO_DARWIN_BG.
SEE ALSO
setpriority(2), setiopolicy_np(3) Darwin June 2, 2019 Darwin
Related Man Pages
taskpolicy(8) - mojave
setpriority(2) - osx
taskpolicy(8) - osx
sched.h(3head) - sunos
sched.h(3head) - debian
Similar Topics in the Unix Linux Community
C program
Brain Teaser Extended
Error in executing the C program
1 Jan 2019 Ravinder Singh will be promoted to Moderator
Poster of the Year 2019 Award Announcement and Call for Nominations