手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

clinfo(1M)

名称

clinfo - display cluster information

用法概要

clinfo [-nh]

描述

The clinfo command displays cluster configuration information about the node from which the command is executed.

Without arguments, clinfo returns an exit status of 0 if the node is configured and booted as part of a cluster. Otherwise, clinfo returns an exit status of 1.

选项

The following options are supported:

–h

Displays the highest node number allowed to be configured. This is different from the maximum number of nodes supported in a given cluster. The current highest configured node number can change immediately after the command returns since new nodes can be dynamically added to a running cluster.

For example, clinfo –h might return 64, meaning that the highest number you can use to identify a node is 64. See the Sun Cluster 3.0 System Administration Guide for a description of utilities you can use to determine the number of nodes in a cluster.

–n

Prints the number of the node from which clinfo is executed.

退出状态

The following exit values are returned:

0

Successful completion.

1

An error occurred.

This is usually because the node is not configured or booted as part of a cluster.

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

另请参见

attributes(5)