| name | plugged |
|---|---|
| description | Inspect this computer's hardware connections with the read-only `plugged` command - what's plugged in, the speed each link runs at against its best (USB, PCIe lanes and generation, SATA, NVMe, memory MT/s, display refresh rates, network links), what limits a slow one, issues with advice, free ports, and on Windows the devices and drivers it remembers but doesn't use. Use when the user asks about connected devices, a slow drive, dock, GPU or port, which port or slot to use, USB or PCIe speeds, RAM or monitor running below its rating, driver problems, Bluetooth devices, or cleaning up old devices. |
plugged reports every port, link and device on this computer and whether each runs as fast as it can. It is read-only: it never changes a driver, a setting or a device, and never uses the network. On Windows it's plugged.exe in Plugged's bin folder (on PATH after the installer).
- Start with
plugged summary --json: device and port counts, links at full speed, every issue. - Find devices:
plugged list <filter> --json. Each device has a handleidliked-3f2a1b9c. - One device in full:
plugged device <id or name> --json. - Problems only:
plugged issues --json(exit code 1 when there are any). - Ports and what's on them:
plugged ports --json, to suggest a faster free port or slot. - Windows clean-up:
plugged leftovers --json.
Run plugged help <command> for any command's options; plugged help json lists every field.
Plain words plus keys, all must match: bus:usb, kind:storage, is:slow, is:problem, is:removable, is:connected, is:off, speed:<5g (<= = >= >, g or m). A - negates a key: -bus:bluetooth. Examples: plugged list bus:usb is:slow --json, plugged list kind:storage speed:<10g --json.
runningis the speed now;capablethe best the device or its port could do;slowis true when running is below capable.limitsays what holds a slow link back (port,hub,cableoradapter,unknown);lanes_from: chipsetmeans a PCIe device shares the chipset's link to the CPU.notesare normal things that look slow (a GPU or Wi-Fi card idling at an older PCIe generation; memory at its DDR base speed). Mention them, don't call them problems.- Issues have
severitybad,warnorinfoandadvicewritten for the user: pass it on. - Speeds are text in the bus's units (
10 Gbps,PCIe 4.0 x4,6000 MT/s,165 Hz);nullmeans the OS doesn't report it.
- Never suggest that Plugged fixes anything: it can't. Explain what to change (another port, a cable, a BIOS memory profile, the display's refresh rate) and where.
- To remove a leftover device, give the user its
remove_command(needs--ids) to run in an administrator terminal, or point to Device Manager. Bluetooth pairings: Settings › Bluetooth & devices. - Output leaves out OS device IDs because they can contain serial numbers. Ask for them with
--idsonly when the task needs them, and never put them in web searches.
0 done; 1 issues found (plugged issues) or a file couldn't be written; 2 wrong usage (unknown command or option, no such device).