LSDEV(8)
π LSDEV π β the lsdev(8) page, but make it make sense
okay so bestie, welcome to the Linux System Manual entry for lsdev, section 8 (that's the sysadmin section, iykyk π). this little cutie tells you what hardware is living inside your computer. let's get into it β¨
πΈ NAME πΈ
lsdev β display information about installed hardware
like literally it just shows you your hardware. that's the whole job. and it ate π
π¦ SYNOPSIS π¦
lsdev
that's it. that's the whole invocation. no flags, no arguments, no drama. main character energy fr fr π
β¨ DESCRIPTION β¨
so here's the vibe: lsdev goes snooping through the interrupts, ioports and dma files in the /proc directory to gather up info about all the hardware installed on your machine. π΅οΈββοΈ
and what you get back is a quick lil overview of which hardware is using what I/O addresses, and which IRQ and DMA channels are getting claimed. lowkey super useful when you're trying to figure out who's hogging what. π₯
π OPTIONS π
- None. β there are zero options. no flags. nothing. she simply does not have them, and honestly? iconic. π
π FILES π
/proc/interruptsβ IRQ channels. that's where the interrupt tea lives β/proc/ioportsβ I/O memory addresses. the port gossip π/proc/dmaβ DMA channels. the DMA section, as promised π
π BUGS π
ngl, there are some quirks and we're gonna be honest about them:
lsdevcan't always figure out which lines in those three files refer to one and the same device, because those files sometimes use different names for the same piece of hardware. π like, in some kernels the keyboard gets calledkbdin/proc/ioportsandkeyboardin/proc/interrupts. messy behaviour, honestly.- and the official stance is: this should be fixed in the kernel, not in
lsdev(and as it happens, that did actually get fixed for this particular example β slay for the kernel I guess π«Ά).
- and the official stance is: this should be fixed in the kernel, not in
- the program does try to match lines though β it strips anything after a space or an open parenthesis from the name, so that for example the
seriallines from/proc/interruptsmatch up with theserial(set)lines from/proc/ioports. cute, right?- > but fair warning: this attempt at DWIM ("do what I mean") might itself be considered a bug. so like, take it with a grain of salt bestie π¬
- and the big one: this program only shows the kernel's idea of what hardware is present, not what's actually physically available. the kernel is giving you its perception, not the objective truth. vibe check accordingly. π
π₯ SEE ALSO π₯
procinfo(8). go read that one too, it's giving sibling energy πΈ
π AUTHOR π
Sander van Malssen <svm@kozmix.cistron.nl> β thank you for your service, legend π
and that's the whole page!! 3rd Release, dated 1998-05-31, which means this manual page is older than most of us and still out here being useful. periodt. πβ¨π¦
π¦ where this page comes from
- arch rolling: procinfo-ng 2.0.304-9 Β· GPL-2.0-only AND LGPL-2.1-only
- debian bookworm: procinfo 1:2.0.304-7 Β· GPL-2.0-only
- debian trixie: procinfo 1:2.0.304-7 Β· GPL-2.0-only
- fedora 43: procinfo 18-59.fc43 Β· GPL-1.0-or-later
- fedora 44: procinfo 18-60.fc44 Β· GPL-1.0-or-later
- opensuse-leap 16.0: procinfo 18-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: procinfo 18-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: procinfo 18-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: procinfo 18-bp160.1.12 Β· GPL-2.0-or-later
- ubuntu jammy: procinfo 1:2.0.304-6 Β· GPL-2.0-only
- ubuntu noble: procinfo 1:2.0.304-7 Β· GPL-2.0-only
- ubuntu questing: procinfo 1:2.0.304-7
- ubuntu resolute: procinfo 1:2.0.304-8 Β· GPL-2.0-only
- ubuntu stonking: procinfo 1:2.0.304-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms