Resource display commands

Inspect and monitor cluster resources using pcs display commands. You can verify resource status, review configuration parameters, and list available resource agents, providers, and standards to ensure your cluster is configured correctly.

pcs Display Command Output

pcs resource describe [standard:[provider:]]type

Displays a description of an individual resource, the parameters you can set for that resource, and the default values for the resource. For example, pcs resource describe ocf:heartbeat:apache displays information for a resource of type apache.

pcs resource status

Displays a list of all configured resources.

pcs resource config resource_id

Displays the configured parameters for a resource.

pcs resource status resource_id

Displays the status of an individual resource.

pcs resource status node=node_id

Displays the status of the resources running on a specific node, use the following command. You can use this command to display the status of resources on both cluster and remote nodes.

pcs resource list

Displays a list of all available resources.

pcs resource standards

Displays a list of available resource agent standards.

pcs resource providers

Displays a list of available resource agent providers.

pcs resource list string

Displays a list of available resources filtered by the specified string. You can use this command to display resources filtered by the name of a standard, a provider, or a type.