mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 22:53:12 +00:00
Update cheatsheets
This commit is contained in:
33
osx/safeejectgpu
Normal file
33
osx/safeejectgpu
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user