---
schema_version: "1"
id: 42e0b7a618bf038e72a834c43a0d9313f5f97ad524b2b8fb0dec217f79cf6671
title: tsm status
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server/cli_status_tsm.md
canonical_url: https://help.tableau.com/current/server/zh-cn/cli_status_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 06028641ec0dc599003dba12679accd48823dc06272d30661cbf063594dae347
description: Reference for the tsm status command to display the status of Tableau Server services and nodes.
---
[跳转到主要内容](#main-content)

# tsm status

您可以使用 `tsm status` 命令显示 Tableau Server 的状态以及作为 Tableau Server 一部分运行的单个服务（进程）。

### 概要

`tsm status [global options]`

### 选项

\-v, --verbose

可选。

显示 Tableau Server 群集中每个节点的状态。

`tsm status` 将返回 Tableau Server 节点的以下潜在状态之一：

- `RUNNING`：节点正在运行，任何服务或进程均无错误进程状态。
- `DEGRADED`：节点在一个或多个主要服务（例如存储库）中运行，处于错误状态。如果您有一个消息传递服务实例并且其发生故障，Tableau Server 将继续运行，但状态显示为降级并且事件消息可能会丢失。有关详细信息，请参见[Tableau Server 消息服务](https://help.tableau.com/current/server/zh-cn/server_process_messaging_service.htm)。
- `ERROR`：所有主要服务或进程在节点上处于错误状态。
- `STOPPED`：节点已停止，没有错误状态。

使用 `--verbose` 选项运行 `tsm status` 时，TSM 将返回每个服务（进程）的状态。可能的状态消息包括：

- `is running`：服务正在运行。
- `status is unavailable`：无法确定状态 - 例如在启动服务时。
- `is in a degraded state`：服务正在运行，但返回错误。此状态表示服务未能正确安装、未配置或以某种方式失败。
- `is in an error state`：服务正在运行，但返回错误。此状态表示服务未能正确安装或者尚未配置。
- `is synchronizing`：文件存储进程与文件存储的另一个实例同步。
- `is decommissioning`：正在停用文件存储进程。
- `is running (Active Repository)`：活动存储库正在运行。这是预期状态。
- `is running (Passive Repository)`：被动存储库正在运行。当配置了两个存储库时，这是预期状态。
- `is stopped`：服务已停止。这并不意味着服务处于错误或问题状态。某些服务仅根据需要运行（例如数据库维护服务）。

## 全局选项

\-h, --help

可选。

显示命令帮助。

\-p, --password <password>

在会话不是活动状态的情况下为必需，`-u` 或 `--username` 也为必需。

为在 `-u` 或 `--username` 中指定的用户指定密码。

如果密码包括空格或特殊字符，请将其括在引号中：

`--password "my password"`

\-s, --server https://<hostname>:8850

可选。

对 Tableau 服务管理器使用指定的地址。URL 必须以 `https` 开头，包括端口 8850，并使用服务器名称（而不是 IP 地址）。例如，`https://<tsm_hostname>:8850`。如果没有指定服务器，则假定为 `https://<localhost | dnsname>:8850`。

\--trust-admin-controller-cert

可选。

使用此标志来信任 TSM 控制器上的自签名证书。有关证书信任和 CLI 连接的详细信息，请参见 [连接 TSM 客户端](https://help.tableau.com/current/server/zh-cn/tsm_overview.htm#Connecti)。

\-u, --username <user>

在会话不是活动状态的情况下为必需，`-p` 或 `--password` 也为必需。

指定用户帐户。如果未包括此选项，则使用您登录所使用的凭据运行该命令。