Tiup cluster display <cluster-name> --process

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiup cluster display --process

| username: Daniel-W

[Test Environment for TiDB] Testing
[TiDB Version] 6.1.1
Why can’t the --process parameter be used with tiup cluster?
tiup cluster display | PingCAP Documentation Center


| username: 裤衩儿飞上天 | Original post link

I can do it here.

| username: Daniel-W | Original post link

Manual input doesn’t work either.

| username: zhanggame1 | Original post link

I can use tiup cluster display tidb-test --process here.

| username: xingzhenxiang | Original post link

Sure, although there is no data display.

| username: zhanggame1 | Original post link

I do have memory available, but nothing else.

| username: Daniel-W | Original post link

Are you also using version 6.1? I just suddenly saw this parameter today and thought I’d give it a try. :joy:

| username: srstack | Original post link

It’s okay on my end.

| username: srstack | Original post link

Memory Limit and CPU Quota are what you need to set in topo.yaml
e.g. tiup/embed/examples/cluster/topology.example.yaml at master · pingcap/tiup · GitHub

| username: Daniel-W | Original post link

Verified, in version 6.1.1 with tiup v1.10.3, the --process option cannot be used.
Upgrading to v1.12.1 allows the use of --process.
However, only memory data is displayed.



image

| username: Daniel-W | Original post link

I configured memory_limit and cpu_quota, but these two values still do not display.
image
image

| username: WalterWj | Original post link

Try upgrading the tiup version separately :thinking: It seems like it might be a feature of the new version of tiup.

| username: xingzhenxiang | Original post link

Seeing that everyone’s display is also incomplete, I feel relieved. I thought it was only mine that was incomplete.

| username: Daniel-W | Original post link

Just upgraded to the latest version, but Memory Limit and CPU Quota are still not displayed.

| username: WalterWj | Original post link

Mine doesn’t show either, haha.

| username: caiyfc | Original post link

This feature is designed to facilitate viewing resource limits. You can try setting the Memory Limit and CPU Quota for a specific node individually.
It works for me.

| username: Daniel-W | Original post link

Could you show me how your resource limit configuration file is written?

| username: caiyfc | Original post link

I can’t find the configuration at that time, it was roughly written like this:

| username: Daniel-W | Original post link

Setup is complete, and it can display successfully.
image

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.