cs displays, initiates, and terminates connect stream services, and displays the contents of connect stream message files.
If no options are spcified then the connect stream for
path is opened. If the corresponding service is not running then it
is initiated and the connection is attempted again. If
command is specified then it is executed with the standard input,
standard output and standard error redirected to the
path connect stream. If
command is omitted then the
/dev/
equivalent path for the connect stream is listed on the standard output.
Static information for hosts in the local network is in the file
../share/lib/cs/local on
$PATH. Each line in the
local
file provides information for a single host. The syntax is:
host-name [
attribute=
value ... ]. Attributes
for the host
local are inherited by all hosts. Locally administered attributes may be added.
attribute with
predefined semantics are:
- addr
- The host IP address in dot notation.
- bias
- The coshell(1) multiplies the host load by
bias to prioritize host availability. bias > 1 makes the host less likely to be chosen.
- busy
- coshell(1) jobs running on a host that has
remained busy for this amount of time are suspended until the host returns to idle status.
- cpu
- The number of cpus on the host as reported by
package(1).
- idle
- The minimum interactive user idle time before
coshell(1) will schedule a job on the host.
- pool
- The coshell(1) attempts to keep pool
host connections active.
- rating
The host rating as reported by
package(1).
- type
- The host type as reported by package(1).