Home | Previous Page | Next Page   Utility Reference > xctl: Execute Utilities Across Coservers > Usage >

Specifying Coservers

By default, xctl executes the specified command-line utility once on the node assigned to each coserver that your ONCONFIG file defines. The -Xs option replaces any instance of s in the cmd-opts list with the coserver number of each coserver in turn. The first -Xs option indicates that any instance of s is to be replaced in the cmd-opts list.

The following examples show operations that you would want to execute on every coserver:

The -c option allows you to specify a subset of coservers. The nodes that correspond to those coservers perform the command. You can specify individual coserver numbers or a range of coserver numbers. For example, to display the status of dbspaces and chunks on coservers with coserver numbers 12 through 15, enter the following command:

xctl -c 12-15 onstat -d
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]