• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lsdev: command not found

by admin

The lsdev command displays various information about a system’s hardware as reported by the kernel. It compiles this information from three files in the /proc/ directory:

  • /proc/interrupts — This file lists each logical CPU core and its associated interrupt requests (IRQ). An IRQ is a signal sent by a device to the processor so that the processor can stop what it is doing and handle some task that the hardware needs to perform, like pressing a keystroke or moving the mouse. There are multiple IRQ addresses that signals can be sent along, and for each address, this file lists how many signals were sent to each CPU core along that address. It also names the hardware device that is mapped to each IRQ address.
  • /proc/ioports —This file lists I/O ports and the hardware devices that are mapped to them.
  • /proc/dma —This file lists all Industry Standard Architecture (ISA) director memory access (DMA) channels on the system. ISA DMA is a hardware controller that typically supports legacy technology like floppy disks.

If you encounter the below error while running the lsdev command:

lsdev: command not found

you may try installing the below package as per your choice of distribution:

OS Distribution Command
Debian apt-get install procinfo
Ubuntu apt-get install procinfo
Arch Linux pacman -S procinfo-ng
Kali Linux apt-get install procinfo
Fedora dnf install procinfo
Raspbian apt-get install procinfo

Conclusion

The primary focus of the lsdev command is to display hardware dma, ioports, and interrupts. This command gathers the information from the /proc/dma, /proc/ioports, and /proc/interrupts files and displays the information in an easy-to-read format.

Filed Under: Linux

Some more articles you might also be interested in …

  1. bundle: Dependency manager for the Ruby programming language
  2. Beginners Guide to yum Configuration
  3. How to enable core dump for Applications on CentOS/RHEL
  4. brightnessctl: command not found
  5. pvremove Command Examples in Linux
  6. lvremove Command Examples in Linux
  7. cradle package: Manage packages for a Cradle instance
  8. run-mailcap: command not found
  9. wdctl Command Examples in Linux
  10. konsole Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • “glab issue” Command Examples
  • “glab auth” Command Examples
  • “glab alias” Command Examples
  • gixy Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright