hardware-listner.rst
changeset 130 3f6dc062af4b
parent 112 1a657a8f1fe5
child 735 5c437e2d5fe1
equal deleted inserted replaced
129:fc03b0f58a94 130:3f6dc062af4b
     4 
     4 
     5   $ dmesg
     5   $ dmesg
     6   $ lsusb
     6   $ lsusb
     7   $ lspci
     7   $ lspci
     8 
     8 
       
     9 ** Graphics card.
       
    10 
       
    11 glxinfo - details about OpenGL, the Xserver, and your graphics card
       
    12 glxinfo | grep direct - do you have direct 3d rendering?
       
    13 glxinfo | grep vendor - graphics card vendor
       
    14 lspci | grep VGA - specific graphics card model
       
    15 glxgears - a simple 3d benchmark, prints frame rate to the terminal
       
    16 xrandr - supported display resolutions
       
    17 
       
    18 ** Audio.
       
    19 
       
    20 lspci | grep Audio - audio controller
       
    21 aplay --list-devices - more audio device information
       
    22 
       
    23 ** Software versions.
       
    24 cat /etc/issue - current distribution and version
       
    25 apt-cache showpkg packagename - packagename’s version and dependencies
       
    26 uname -r - Linux kernel version
       
    27 uname -a - all kernel details
       
    28 
       
    29 ** Networking.
       
    30 
       
    31 lspci | grep Ethernet - Ethernet controllers
       
    32 ifconfig - networking interfaces, IP addresses, and more
       
    33 
       
    34 ** Processor.
       
    35 
       
    36 cat /proc/cpuinfo - all processors, clock speeds, flags, and more
       
    37 cat /proc/loadavg - processor load average for the last 1, 5, and 15 minutes
       
    38 top - press C key to sort processes by CPU usage
       
    39 
       
    40 ** Memory.
       
    41 
       
    42 cat /proc/meminfo - amount of RAM and swap, and how much is being used for what
       
    43 free -m - total, used, and free memory shown in MB
       
    44 top - press M key to sort processes by memory usage
       
    45 
       
    46 ** Hard disks.
       
    47 
       
    48 df -H - partitions, as well as their mount-points and usage in GB
       
    49 sudo fdisk -l - all partitions, their device names, and positions on disk
       
    50 
       
    51 ** USB devices.
       
    52 
       
    53 lsusb - USB buses and attached devices
       
    54 
       
    55 ** Even more.
       
    56 
       
    57 lshal -m - monitor for hardware changes
       
    58 lspci - all PCI devices
       
    59 hwinfo --short (install from package hwinfo) - overview of all hardware, as well as more detailed info
       
    60 lshw - another program for listing hardware
       
    61 lshw -html | w3m -T text/html - lists hardware with HTML output in the w3m web browser
       
    62 uptime - current time elapsed since last reboot, users, and load average
       
    63 
     9 ** Debian.
    64 ** Debian.
    10 
    65 
    11   $ sudo apt-get install lshw
    66   $ sudo apt-get install lshw