GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BARRIER(1) FreeBSD General Commands Manual BARRIER(1)

barrier
syncronize a process on a number of machines.

barrier [-q] [-v] [-h barrier_host] [-k key] [-p port] -s cluster_size

The barrier command can be used to syncronize execution of various commands. When a barrier is set, it is not released until all the nodes or processes have met the barrier condition. This can be a handy way to make sure slower machines, perform certain tasks before doing something on faster machines that relies on them. The following options are available:
Turns quiet off, so barrier notifications are sent to the user.
Prints the version of ClusterIt to the stdout, and exits.
Specifies a host, which is running barrierd, to connect to for barrier syncronization. Overrides the BARRIER_HOST environment variable.
Specifies a unique key to syncronize with. A barrier will only synchronize with other barriers that share the same key. Defaults to the string 'barrier'.
Specifies a port number of a remote barrier daemon to connect to. Defaults to 1933, and overrides the BARRIER_PORT environment variable.
Sets the size of the cluster. A barrier condition is met, when the number of barrier clients connected to the remote daemon, sharing the same unique key, is equal to this number.

barrier utilizes the following environment variables.
Sets the default remote port to connect to.
Sets the default remote host to connect to.

Exit status is 0 on successful syncronization. Exit status will be set to 1 if the connection is lost, or the server rejects your connection.

barrierd(1), dsh(1),

The barrier command appeared in clusterit 1.1.

Barrier was written by Tim Rightnour.
October 14, 1998

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.