1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages/osx/safeejectgpu.md
2024-09-27 23:55:39 +05:30

28 lines
489 B
Markdown

# SafeEjectGPU
> Eject a GPU safely.
> More information: <https://keith.github.io/xcode-man-pages/SafeEjectGPU.8.html>.
- Eject all GPUs:
`SafeEjectGPU Eject`
- List all GPUs attached:
`SafeEjectGPU gpus`
- List apps using a GPU:
`SafeEjectGPU gpuid {{GPU_ID}} apps`
- Get the status of a GPU:
`SafeEjectGPU gpuid {{GPU_ID}} status`
- Eject a GPU:
`SafeEjectGPU gpuid {{GPU_ID}} Eject`
- Launch an app on a GPU:
`SafeEjectGPU gpuid {{GPU_ID}} LaunchOnGPU {{path/to/App.app}}`