Skip to content

Commit bf6c70a

Browse files
committed
Add commands
1 parent 136c1b6 commit bf6c70a

1,401 files changed

Lines changed: 57695 additions & 8 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/basics/index.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.DS_Store
21
codingagents.md
32
cryptocurrencies.md
43
emacstexteditor.md

assets/commands/alr-help.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# TLDR
2+
3+
**Display help** for a specific alr command
4+
5+
```alr help [command]```
6+
7+
**List all available** alr commands
8+
9+
```alr help```
10+
11+
**Display global options** and general help
12+
13+
```alr --help```
14+
15+
# SYNOPSIS
16+
17+
**alr** **help** [_command_]
18+
19+
# PARAMETERS
20+
21+
**command**
22+
> The name of the alr subcommand to get help for.
23+
24+
# DESCRIPTION
25+
26+
**alr help** displays detailed help information for Alire (Ada/SPARK package manager) commands. When run without arguments, it shows a list of all available commands. When a command name is provided, it displays detailed usage information for that specific command.
27+
28+
Alire is a source package manager for Ada/SPARK, similar to Rust's cargo or OCaml's opam. The **alr** command-line tool manages dependencies, builds projects, and incorporates libraries from the Alire catalog.
29+
30+
# SEE ALSO
31+
32+
[alr](/man/alr)(1), [alr-version](/man/alr-version)(1)

assets/commands/alr-version.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# TLDR
2+
3+
**Display alr version** and build information
4+
5+
```alr version```
6+
7+
**Display version** with diagnostic information
8+
9+
```alr --version```
10+
11+
# SYNOPSIS
12+
13+
**alr** **version**
14+
15+
# DESCRIPTION
16+
17+
**alr version** displays the version number and build information for the Alire command-line tool. This is useful for troubleshooting, reporting issues, and verifying installation.
18+
19+
Alire is a source package manager for Ada/SPARK projects, providing dependency management and build process automation.
20+
21+
# SEE ALSO
22+
23+
[alr](/man/alr)(1), [alr-help](/man/alr-help)(1)

assets/commands/amdgpu_top.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# TLDR
2+
3+
**Start the TUI** to monitor AMD GPU usage
4+
5+
```amdgpu_top```
6+
7+
**Launch the graphical interface** mode
8+
9+
```amdgpu_top --gui```
10+
11+
**Launch simple TUI mode** similar to nvidia-smi
12+
13+
```amdgpu_top --smi```
14+
15+
**Dump AMDGPU info** (specifications, VRAM, PCI, VBIOS)
16+
17+
```amdgpu_top -d```
18+
19+
**Output JSON formatted data** for scripting
20+
21+
```amdgpu_top -d --json```
22+
23+
**Display GPU processes** and memory usage per process
24+
25+
```amdgpu_top -p```
26+
27+
**Select a specific GPU** by instance number
28+
29+
```amdgpu_top -i [0]```
30+
31+
**Dump GPU metrics** for all AMD GPUs
32+
33+
```amdgpu_top --gpu-metrics```
34+
35+
# SYNOPSIS
36+
37+
**amdgpu_top** [_options_]
38+
39+
# PARAMETERS
40+
41+
**-d**, **--dump**
42+
> Dump AMDGPU info including specifications, VRAM, PCI, ResizableBAR, VBIOS, and video caps.
43+
44+
**--list**
45+
> Display a list of available AMDGPU devices.
46+
47+
**-J**, **--json**
48+
> Output JSON formatted data. Can be combined with the -d option.
49+
50+
**--gui**
51+
> Launch graphical interface mode.
52+
53+
**--smi**
54+
> Launch simple TUI mode similar to nvidia-smi or rocm-smi.
55+
56+
**-p**, **--process**
57+
> Dump all GPU processes and memory usage per process.
58+
59+
**-i** _INDEX_
60+
> Select GPU instance by index number.
61+
62+
**--pci** _PATH_
63+
> Specify PCI path in domain:bus:dev.func format.
64+
65+
**--apu**, **--select-apu**
66+
> Select APU instance.
67+
68+
**--single**, **--single-gpu**
69+
> Display only the selected APU/GPU.
70+
71+
**--no-pc**
72+
> Disable reading performance counters (GRBM, GRBM2). Useful to avoid deactivating power saving features.
73+
74+
**-gm**, **--gpu-metrics**
75+
> Dump gpu_metrics for all AMD GPUs.
76+
77+
**--pp-table**
78+
> Dump power/performance table from sysfs and VBIOS for all AMD GPUs.
79+
80+
**--drm-info**
81+
> Dump DRM information.
82+
83+
**-s** _MS_
84+
> Set refresh interval in milliseconds for JSON mode (default: 1000ms).
85+
86+
**-n** _COUNT_
87+
> Set maximum iteration count for JSON mode (0 = infinite).
88+
89+
**-u**, **--update-process-index** _SEC_
90+
> Update interval in seconds for fdinfo (default: 5s).
91+
92+
**--dark**, **--dark-mode**
93+
> Enable dark mode for TUI/GUI.
94+
95+
**--light**, **--light-mode**
96+
> Enable light mode for TUI/GUI.
97+
98+
**--gl**, **--opengl**
99+
> Use OpenGL API for GUI backend.
100+
101+
**--vk**, **--vulkan**
102+
> Use Vulkan API for GUI backend.
103+
104+
**-V**, **--version**
105+
> Print version information.
106+
107+
**-h**, **--help**
108+
> Print help information.
109+
110+
# DESCRIPTION
111+
112+
**amdgpu_top** is an AMD GPU monitoring tool that displays real-time utilization data similar to htop but specifically for AMD graphics hardware. It gathers information from performance counters (GRBM, GRBM2), sensors, fdinfo, and the AMDGPU driver to provide comprehensive GPU metrics.
113+
114+
The tool offers three display modes: a full-featured TUI (default), a simplified SMI-style TUI, and a graphical interface. It monitors GPU activity, VRAM usage, temperature, power consumption, fan speed, and per-process GPU utilization.
115+
116+
# TUI KEYBINDINGS
117+
118+
**g** - Toggle GRBM performance counter
119+
**r** - Toggle GRBM2 performance counter
120+
**v** - Toggle VRAM/GTT usage display
121+
**f** - Toggle fdinfo display
122+
**n** - Toggle sensors display
123+
**m** - Toggle GPU metrics display
124+
**h** - Change update interval (high=100ms, low=1000ms)
125+
**P** - Sort fdinfo by PID
126+
**M** - Sort fdinfo by VRAM usage
127+
**G** - Sort fdinfo by GFX usage
128+
**R** - Reverse sort order
129+
**q** - Quit application
130+
131+
# CAVEATS
132+
133+
Reading performance counters (GRBM, GRBM2) may prevent the GPU from entering power-saving states on some APUs. Use **--no-pc** to disable performance counter reading if this is a concern. Requires the AMDGPU kernel driver and appropriate permissions to access GPU sysfs entries.
134+
135+
# HISTORY
136+
137+
**amdgpu_top** was created by Umio-Yasuno as a modern alternative to radeontop, written in **Rust**. It provides features that radeontop lacks, such as temperature monitoring, GPU metrics, and a graphical interface. The project is actively maintained and available on GitHub.
138+
139+
# SEE ALSO
140+
141+
[radeontop](/man/radeontop)(1), [nvtop](/man/nvtop)(1), [nvidia-smi](/man/nvidia-smi)(1), [intel_gpu_top](/man/intel_gpu_top)(1), [htop](/man/htop)(1)

assets/commands/az-advisor.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# TLDR
2+
3+
**List all Azure Advisor recommendations**
4+
5+
```az advisor recommendation list```
6+
7+
**List recommendations** for a specific category
8+
9+
```az advisor recommendation list --category [Cost|Security|Reliability|Performance|OperationalExcellence]```
10+
11+
**Show Advisor configuration** for the subscription
12+
13+
```az advisor configuration show```
14+
15+
**List configuration** for the entire subscription
16+
17+
```az advisor configuration list```
18+
19+
**Disable a recommendation**
20+
21+
```az advisor recommendation disable --name [recommendation-name] --resource-group [rg-name]```
22+
23+
**Enable a previously disabled** recommendation
24+
25+
```az advisor recommendation enable --name [recommendation-name] --resource-group [rg-name]```
26+
27+
# SYNOPSIS
28+
29+
**az** **advisor** _subcommand_ [_options_]
30+
31+
# SUBCOMMANDS
32+
33+
**configuration list**
34+
> List Azure Advisor configuration for the entire subscription.
35+
36+
**configuration show**
37+
> Show Azure Advisor configuration for the given subscription or resource group.
38+
39+
**configuration update**
40+
> Update Azure Advisor configuration.
41+
42+
**recommendation list**
43+
> List Azure Advisor recommendations.
44+
45+
**recommendation disable**
46+
> Dismiss Azure Advisor recommendations.
47+
48+
**recommendation enable**
49+
> Enable Azure Advisor recommendations.
50+
51+
# DESCRIPTION
52+
53+
**az advisor** manages Azure Advisor, a personalized cloud consultant that helps you follow best practices to optimize your Azure deployments. Azure Advisor analyzes resource configuration and usage telemetry, then recommends solutions to improve cost effectiveness, performance, reliability, and security.
54+
55+
Recommendations are categorized into: Cost, Security, Reliability, Performance, and OperationalExcellence.
56+
57+
# CAVEATS
58+
59+
Requires Azure CLI to be installed and authenticated with **az login**. Appropriate Azure RBAC permissions are needed to view and manage Advisor recommendations.
60+
61+
# SEE ALSO
62+
63+
[az](/man/az)(1), [az-config](/man/az-config)(1), [az-feedback](/man/az-feedback)(1)

assets/commands/az-apim.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# TLDR
2+
3+
**Create a new API Management** service instance
4+
5+
```az apim create --name [MyApim] --resource-group [MyResourceGroup] --publisher-email [email@domain.com] --publisher-name [MyCompany] --location [eastus]```
6+
7+
**List all API Management** services in a resource group
8+
9+
```az apim list --resource-group [MyResourceGroup]```
10+
11+
**Show details** of an API Management service
12+
13+
```az apim show --name [MyApim] --resource-group [MyResourceGroup]```
14+
15+
**Import an API** from OpenAPI specification
16+
17+
```az apim api import --service-name [MyApim] --resource-group [MyResourceGroup] --path [myapi] --specification-format OpenAPI --specification-url [https://example.com/swagger.json]```
18+
19+
**List all APIs** in a service
20+
21+
```az apim api list --service-name [MyApim] --resource-group [MyResourceGroup]```
22+
23+
**Create a backup** of the service
24+
25+
```az apim backup --name [MyApim] --resource-group [MyResourceGroup] --backup-name [myBackup] --storage-account-name [mystorageaccount] --storage-account-container [backups]```
26+
27+
**Delete an API Management** service
28+
29+
```az apim delete --name [MyApim] --resource-group [MyResourceGroup] --yes```
30+
31+
# SYNOPSIS
32+
33+
**az** **apim** _subcommand_ [_options_]
34+
35+
# SUBCOMMANDS
36+
37+
**create**
38+
> Create a new API Management service instance.
39+
40+
**show**
41+
> Get details of an API Management service.
42+
43+
**list**
44+
> List API Management service instances.
45+
46+
**update**
47+
> Update an API Management service instance.
48+
49+
**delete**
50+
> Delete an API Management service instance.
51+
52+
**backup**
53+
> Create a backup of the API Management service.
54+
55+
**restore**
56+
> Restore an API Management service from a backup.
57+
58+
**api create**
59+
> Create a new API.
60+
61+
**api import**
62+
> Import an API from a specification.
63+
64+
**api list**
65+
> List APIs in a service.
66+
67+
**api operation**
68+
> Manage API operations.
69+
70+
**product**
71+
> Manage API products.
72+
73+
**nv**
74+
> Manage Named Values for configuration.
75+
76+
# DESCRIPTION
77+
78+
**az apim** manages Azure API Management services, which provide a way to create consistent and modern API gateways for existing back-end services. It handles API creation, versioning, documentation, security policies, rate limiting, and developer portal management.
79+
80+
API Management supports multiple SKU tiers: Basic, Consumption, Developer, Isolated, Premium, and Standard, each offering different capabilities and scale options.
81+
82+
# CAVEATS
83+
84+
Requires Azure CLI to be installed and authenticated with **az login**. Creating API Management services can take 30-40 minutes for non-Consumption tiers. Use **--no-wait** for long-running operations.
85+
86+
# SEE ALSO
87+
88+
[az](/man/az)(1), [az-advisor](/man/az-advisor)(1), [az-config](/man/az-config)(1)

0 commit comments

Comments
 (0)