Content-type: text/html
Manpage of THREAD
THREAD
Section: PUPS commands (1)
Updated: 21 December 1999
Index
Return to Main Contents
NAME
THREAD - execute a homogenous farm.
SYNOPSIS
thread
[
-verbose
]
threaded instances
command name
=
>& <log file>
DESCRIPTION
thread(1)
is a comamnd which executes homogenous farms. The command which is farmed can be a simple binary or a shell
script or process pipeline.
thread(1)
creates a process group for the farm using
setsid(2)
and then uses
fork(2)
and
execvp(2)
to launch a user specified number of instances
threaded instances (
) of the command (
command name
). If
thread(1)
is in the forground it waits for the completion of the farm via the
wait(2)
call.
OPTIONS
-verbose
Tells
thread(1)
to report what it is doing via
stderr.
ENVIRONMENT VARIABLES
none
COPYRIGHT
(C) Tumbling Dice Ltd.
PROGRAMMER
M.A. O'Neill.
SEE ALSO
wait(2), setsid(2), fork(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- ENVIRONMENT VARIABLES
-
- COPYRIGHT
-
- PROGRAMMER
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 13:53:35 GMT, January 11, 2008