rt_server man page
SYNOPSIS
rt_server [-hV] [-o ior-file] [-m manager-ior] [-P period]
[-f run-time] <-t task-ior|-n name> [<compute1> [<com-
pute2> ...]]
DESCRIPTION
The rt_server utility exports a CORBA object that gener-
ates synthetic computing load when periodically driven by
the rt_client(1) command. Its primary purpose is to serve
as an interesting process that the CPU Broker can manage.
The process communicates with the Broker using the task
object specified by -t or creates its own if -n is used.
The actual amount of CPU it consumes in a given period is
determined by the computeN arguments. These arguments
specify a loop of time values that determine how much of
the period it should spend consuming the CPU. The values
can be a number with units (e.g. "60000000us", "60000ms",
"60s", or "1m") or without, in which case it is assumed to
be microseconds. When a period completes, it will switch
to the next value in the sequence. The default sequence
oscillates between half the period and a quarter of the
period.
Available options:
-h Print out a usage message.
-V Print out a version number.
-o ior-file
The output file for the object's IOR. (Default:
./rtserver.ior)
-m manager-ior
The Broker::Manager IOR for this machine.
(Default: file://manager.ior)
-P period
The period of the process. The value can be a num-
ber with units (e.g. "60000000us", "60000ms",
"60s", or "1m") or without, in which case it is
assumed to be microseconds. (Default: 1 second)
-f run-time
The amount of time to run for. The value can be a
number with units (e.g. "60000000us", "60000ms",
"60s", or "1m") or without, in which case it is
assumed to be microseconds. (Default: forever)
-t task-ior
The IOR for the Broker::RealTimeTask that has been
created for this process. This is incompatible
with the -n option.
-n name
The name to use when creating a Broker::Real-
TimeTask for this process. This is incompatible
with the -t option.
EXAMPLES
To start a process with a period of half a second and con-
sumes 100 milliseconds and 125 milliseconds every other
period.
[nemo@anemone rbroker] rt_server -n rt1 -P 500ms
100ms 125ms
Now to drive that process we start a client:
[nemo@anemone rbroker] rt_client -P 500ms
SEE ALSO
rt_client(1), rktimes(1), broker_allup(1), cbhey(1), cpub-
roker(7)
AUTHOR
The Alchemy project at the University of Utah.
NOTES
The Alchemy project can be found on the web at
http://www.cs.utah.edu/flux/alchemy
CPU Broker 1.0.0 2003/11/20 22:38:20 RT_SERVER_HOURGLASS(1)
Man(1) output converted with
man2html