> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackshift.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI

> See findings and memory from a terminal with stackshift perf and stackshift memory.

> [!TIP]
>
> **Live.** This area is documented as current, user-reliable behavior.

## Goal

Read and act on performance findings and memory from the CLI.

## Prerequisites

* The StackShift CLI, signed in.

## Workflow

**Step 1**

Run stackshift perf my-project to list findings.

**Step 2**

Run stackshift perf show FINDING to read one.

**Step 3**

Run stackshift perf apply FINDING to apply the change.

**Step 4**

Run stackshift memory to see memory for all your services.

**Step 5**

Add --watch to keep it live.

## Findings

* perf lists open findings for a project. --all covers every project you own.
* show prints one finding with its evidence and fix steps.
* apply asks for the change and goes through approval.
* dismiss needs --reason. reopen brings a finding back.

```bash stackshift perf theme={null}
stackshift perf [PROJECT]
stackshift perf --all
stackshift perf show FINDING
stackshift perf apply FINDING
stackshift perf dismiss FINDING --reason "Not a problem for this app"
stackshift perf reopen FINDING
```

## Memory

* memory lists every service you own, highest first.
* memory PROJECT shows one project.
* \--server shows memory by project on a node or compute instance you own.
* \--watch refreshes every 5 seconds, like top. --interval sets the seconds between refreshes.

```bash stackshift memory theme={null}
stackshift memory
stackshift memory PROJECT
stackshift memory --server NODE_OR_COMPUTE_INSTANCE_ID
stackshift memory --watch
stackshift memory --watch --interval 10
```

## Expected result

> [!TIP]
>
> You see the same findings and memory as the dashboard.

## Related guides

> [card] [What to improve](https://docs.stackshift.cloud/performance/what-to-improve.md)
>
> A ranked list of findings for the project. Each says what is wrong, shows the evidence, says what fixing it is worth and gives the steps.

> [card] [Health and server views](https://docs.stackshift.cloud/performance/health-and-servers.md)
>
> See memory and speed across all your projects in Health, and memory by project on your own servers.

> [card] [API](https://docs.stackshift.cloud/performance/api.md)
>
> The endpoints behind the performance page, for your own tools.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.