mirror of https://github.com/CrimsonTome/tldr.git
29 lines
481 B
Markdown
29 lines
481 B
Markdown
# SafeEjectGPU
|
|
|
|
> Eject a GPU safely.
|
|
> More information: <https://www.unix.com/man-page/mojave/8/safeejectgpu>.
|
|
|
|
- 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}}`
|