aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-01 08:48:35 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-01 08:48:35 +0100
commitf03e05310642b1dd13a83f45b7e1b7b14602512e (patch)
tree0c8849bfc7006e2e5b9b575ccfa1323482c3cf79 /README
parentupdate dist (diff)
downloadslack-f03e05310642b1dd13a83f45b7e1b7b14602512e.tar.gz
slack-f03e05310642b1dd13a83f45b7e1b7b14602512e.tar.bz2
slack-f03e05310642b1dd13a83f45b7e1b7b14602512e.tar.xz
misc improvements
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--README50
1 files changed, 47 insertions, 3 deletions
diff --git a/README b/README
index 0977e0b..c95ef55 100644
--- a/README
+++ b/README
@@ -1,5 +1,49 @@
-Get the current timer slack value or spawn
-a new process with a new timer slack value.
+NAME
+ slack - Control your timer slack
-Note: real-time threads do not slack around.
+SYNOPSIS
+ slack (get | GET)
+ slack ((reset | INTERVAL) [--fatal] [--] COMMAND...)
+
+DESCRIPTION
+ Get the current timer slack value or spawn a new process
+ with a new timer slack value.
+
+ If the verb get or GET is used, the current timer slack
+ value and exit. If get is used, the program shall use
+ as high prefix as possible. If GET is used the value
+ shall be printed in nanoseconds but not unit shall be
+ printed.
+
+ If the verb reset is used, the process shall set the
+ timer slack value for the process to the default timer
+ slack value, and exec(3) to COMMAND.
+
+ If an INTERVAL is given, the process shall set the
+ timer slack value for the process to INTERVAL, and
+ exec(3) to COMMAND.
+
+ INTERVAL must be a positive number, optioanlly with
+ a prefix. Recognised prefixes (and units) are:
+
+ ns, n nanoseconds (default)
+ µs, µ, us, u microseconds
+ ms, m milliseconds
+ s seconds
+
+ The default timer slack value is the timer slack value
+ on PID 1.
+
+OPTIONS
+ --fatal
+ Fail if the timer slack value cannot be set.
+
+RATIONALE
+ Could be useful increase the performance of your computer.
+
+NOTES:
+ Real-time threads do not slack around.
+
+SEE ALSO
+ nice(1) ionice(1), prctl(2)