Resource Lens

Shows CPU, memory, and GPU usage in the VS Code status bar.

Hover over any item for a tooltip with CPU model, memory breakdown, and GPU
temperature.
GPU support
Only NVIDIA GPUs are supported, via nvidia-smi. If nvidia-smi isn't
found, the GPU item is hidden automatically.
Tested on Docker (Linux) with an RTX 2080 Ti.
Install
Search for Resource Lens in the Extensions panel.
Settings
{
// Update interval in ms (minimum 500)
"resourceLens.updateIntervalMs": 1000,
"resourceLens.showCpu": true,
"resourceLens.showMemory": true,
"resourceLens.showGpu": true,
}
To reduce update frequency:
{ "resourceLens.updateIntervalMs": 5000 }
To show CPU only:
{
"resourceLens.showMemory": false,
"resourceLens.showGpu": false,
}
Known issues
- Tooltip content may flicker or briefly disappear while values update. This is a
VS Code limitation and
not specific to this extension.
License
Apache-2.0