---

myst:
  html_meta:
    "description lang=en": "Run the AMD SMI lifecycle example to initialize the library, inspect its version, decode status codes, and shut it down. Python and Go examples are shown side by side."
    "keywords": "amd, smi, python, go, golang, lifecycle, initialization, version, status code, example"

---

# Run the AMD SMI lifecycle example

::::{tab-set}

:::{tab-item} Python
:sync: python

```{include} ../../../py/examples/lifecycle/README.md
:start-line: 2
```

:::

:::{tab-item} Go
:sync: go

```{include} ../../../go/examples/lifecycle/README.md
:start-line: 2
```

:::

::::
