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
CLUSTERSED(1) FreeBSD General Commands Manual CLUSTERSED(1)

clustersed
quickly dissect cluster files

clustersed clusterfile|- string1 ... stringn

The clustersed program is used to cut individual groups out of a cluster file. This can be used to see the contents of a particular group easily, or to generate special-use clusters on the fly. The results of the program will be sent to standard output. The following options are available:
clusterfile
The first argument must either be the name of a cluster file, or a single dash (‘-’). If the dash is given, the clusterfile will be read from the file indicated in the CLUSTER environment variable. If the CLUSTER environment variable does not exist, clustersed will process standard input.
string
The second argument is a space separated list of one or more strings to search for in the cluster file. These are the names of groups within the cluster, and will only match group names. If a group name is matched, all nodes in that group will be printed out, along with the ‘GROUP:’ heading and the name of the group. You can partially match the begining of a group name with a string. For example, the argument ‘serv’ would match ‘server1’ and ‘server2’ but would not match ‘subserv’.

clustersed utilizes the following environment variables:
Contains a filename, which is a newline separated list of nodes in the cluster.

Exit status is 0 on success, 1 if an error occurs.

dsh(1).

The clustersed command appeared in clusterit 2.0.

Clustersed was written by Tim Rightnour.
February 25, 2000

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.