hardware.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:49:07 +0200
changeset 2230 9e6ad6607a9e
parent 2222 f0ae5873196a
child 2252 95d312f81861
permissions -rw-r--r--
Fixed formatting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
     1
.. -*- coding: utf-8; -*-
112
1a657a8f1fe5 Added hardware listner.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
     3
================
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
     4
 List hardware.
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
     5
================
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
     6
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1801
diff changeset
     7
   :local:
112
1a657a8f1fe5 Added hardware listner.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
     9
Linux hardware compatibility databases.
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    10
=======================================
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    11
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    12
http://www.linux-drivers.org/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    13
  Links for various databases.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    14
https://h-node.org/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    15
  Hardware database of devices that work with a fully free operating system.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    16
http://linux-sound.org/hardware.html
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    17
  Audio interfaces for Linux.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    18
http://openbenchmarking.org/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    19
  Public result database from Phoronix Test Suite for Linux.
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    20
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    21
Distros list of supported hardware:
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    22
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    23
https://wiki.debian.org/InstallingDebianOn/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    24
  How to install, configure and use Debian on some specific hardware.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    25
https://en.opensuse.org/Hardware
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    26
  OpenSuse.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    27
https://hardware.redhat.com/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    28
  RedHat.
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    29
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    30
List of supported video / graphics card / chipset card by Xorg:
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    31
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    32
http://xorg.freedesktop.org/wiki/Projects/Drivers/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    33
  graphics card / chipset
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    34
2222
f0ae5873196a Fixed: Literal block expected; none found.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2215
diff changeset
    35
List of supported laptops/mobile:
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    36
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    37
http://www.linux-on-laptops.com/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    38
  Reports on running Linux on notebook or laptop computers.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    39
http://tuxmobil.org/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    40
  Laptop/mobile support.
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    41
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    42
Printers:
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    43
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    44
http://www.openprinting.org/printers
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    45
  List of printers.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    46
http://www.openprinting.org/drivers
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    47
  List of drivers.
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    48
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    49
LAN:
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    50
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    51
http://linux-wless.passys.nl/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    52
  Linux wireless LAN support.
1773
d281eb86f8f6 Linux hardware compatibility databases.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1745
diff changeset
    53
1640
07075b81fdfc List hardware under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1515
diff changeset
    54
List hardware under Linux.
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
    55
==========================
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
    56
1745
a37bc3e0f1db hardinfo, lshw-gtk
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1744
diff changeset
    57
Command line:
a37bc3e0f1db hardinfo, lshw-gtk
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1744
diff changeset
    58
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    59
``dmesg``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    60
  Messages about detecting new hardware.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    61
``lshal -m``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    62
  monitor for hardware changes
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    63
``lspci``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    64
  All PCI devices.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    65
``lspci -vvv``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    66
  All PCI devices. Very verbose output.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    67
``sudo lspci -vvvnn``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    68
  All PCI devices. Very verbose output with vendor and device codes as both numbers and names.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    69
``hwinfo --short``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    70
  Overview of all hardware, as well as more detailed info.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    71
``lshw``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    72
  Another program for listing hardware.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    73
``lshw -html | w3m -T text/html``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    74
  Lists hardware with HTML output in the w3m web browser.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    75
``uptime``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    76
  Current time elapsed since last reboot, users, and load average.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    77
``lsusb``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    78
  USB buses and attached devices.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    79
``lsusb -vvv``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
    80
  USB buses and attached devices. Very verbose output.
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
    81
1745
a37bc3e0f1db hardinfo, lshw-gtk
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1744
diff changeset
    82
GUI: ``hardinfo``, ``lshw-gtk``.
a37bc3e0f1db hardinfo, lshw-gtk
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1744
diff changeset
    83
1640
07075b81fdfc List hardware under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1515
diff changeset
    84
List hardware under Windows.
07075b81fdfc List hardware under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1515
diff changeset
    85
============================
07075b81fdfc List hardware under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1515
diff changeset
    86
2208
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    87
``%WINDIR%\system32\msinfo32.exe``
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    88
  msinfo32
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    89
http://www.cpuid.com/softwares/cpu-z.html
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    90
  cpu-z
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    91
``%WINDIR%\system32\dxdiag.exe``
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    92
  DirectX Diagnostic Tool
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    93
``%WINDIR%\system32\devmgmt.msc /s``
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    94
  Device Manager
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    95
https://www.hwinfo.com/
78545cdddf98 https://www.hwinfo.com/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2145
diff changeset
    96
  In-depth Hardware Information for Windows.
1640
07075b81fdfc List hardware under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1515
diff changeset
    97
1724
89141f4db935 List processors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1723
diff changeset
    98
List processors.
89141f4db935 List processors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1723
diff changeset
    99
================
89141f4db935 List processors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1723
diff changeset
   100
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   101
``cat /proc/cpuinfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   102
  All processors, clock speeds, flags, and more.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   103
``watch -d grep MHz /proc/cpuinfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   104
  CPU MHz speed monitor.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   105
``cat /proc/loadavg``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   106
  Processor load average for the last 1, 5, and 15 minutes.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   107
``top``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   108
  Press C key to sort processes by CPU usage.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   109
``sudo powertop``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   110
  CPU usage by processes, idle/freq/dev stats
1724
89141f4db935 List processors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1723
diff changeset
   111
1722
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   112
List memory.
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   113
============
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   114
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   115
``free``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   116
  Total, used, and free memory.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   117
``free -m``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   118
  Total, used, and free memory shown in MB.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   119
``cat /proc/meminfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   120
  Amount of RAM and swap, and how much is being used for what.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   121
``top``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   122
  Real-time memory consumption. Press M key to sort processes by memory usage.
1722
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   123
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   124
::
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   125
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   126
  $ cat /proc/meminfo
1723
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   127
  $ sudo lshw -class memory
1722
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   128
  $ sudo lshw -short -C memory
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   129
  $ sudo dmidecode --type memory
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   130
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   131
  $ sudo apt-get install i2c-tools
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   132
  $ sudo modprobe eeprom
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   133
  $ sudo decode-dimms
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   134
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   135
  $ read-edid
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   136
1782
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   137
Graphics card/GPU/DRM.
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   138
======================
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   139
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   140
``glxinfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   141
  Details about OpenGL, the Xserver, and your graphics card.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   142
``glxinfo | grep direct``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   143
  Do you have direct 3d rendering?
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   144
``glxinfo | grep vendor``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   145
  Graphics card vendor.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   146
``lspci | grep VGA``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   147
  Specific graphics card model.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   148
``glxgears``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   149
  A simple 3d benchmark, prints frame rate to the terminal.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   150
``xrandr``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   151
  Supported display resolutions.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   152
``xdpyinfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   153
  Utility for displaying information about an X server, monitor DPI, resolutions, etc.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   154
``xvinfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   155
  Print out X-Video extension adaptor information.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   156
``xdriinfo``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   157
  Query configuration information of DRI drivers.
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   158
1782
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   159
``GPU-z`` may be used under Windows.
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   160
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   161
Nvidia cards.
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   162
-------------
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   163
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   164
What cards present on system and what monitors managed by card::
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   165
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   166
  $ sudo apt-get install nvidia-settings
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   167
  $ nvidia-settings
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   168
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   169
Memory usage, GPU utilization and temperature for Nvidia cards::
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   170
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   171
  $ sudo apt-get install nvidia-smi
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   172
  $ nvidia-smi
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   173
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   174
https://nouveau.freedesktop.org/wiki/
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   175
  Open source drivers for GeForce cards.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   176
1782
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   177
Intel cards.
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   178
------------
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   179
::
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   180
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   181
  $ sudo apt-get install intel-gpu-tools
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   182
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   183
Show ``top`` like statistics::
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   184
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   185
  $ intel_gpu_top
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   186
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   187
Show GPU usage like ``time`` command::
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   188
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   189
  $ intel_gpu_time $CMD
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   190
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   191
AMD/Radeon cards.
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   192
-----------------
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   193
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   194
For ``fglrx`` driver::
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   195
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   196
  $ aticonfig --odgc --odgt
3453d3e251ba Graphics card stats.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1773
diff changeset
   197
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   198
Audio.
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   199
======
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   200
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   201
``lspci | grep Audio``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   202
  Audio controller.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   203
``aplay --list-devices``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   204
  More audio device information.
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   205
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   206
Software versions.
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   207
==================
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   208
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   209
``cat /etc/issue``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   210
  Current distribution and version.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   211
``apt-cache showpkg packagename``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   212
  Packagename’s version and dependencies.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   213
``uname -r``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   214
  Linux kernel version.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   215
``uname -a``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   216
  All kernel details.
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   217
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   218
Networking.
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   219
===========
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   220
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   221
``lspci | grep Ethernet``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   222
  Ethernet controllers.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   223
``lshw -class network``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   224
  Hardware capabilities of network devices.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   225
``sudo ethtool eth0``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   226
  Hardware capabilities of network device.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   227
``ethtool -i eth0``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   228
  Driver info.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   229
``ip link show``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   230
  List of netword devices and MAC addresses.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   231
``ip addr show``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   232
  List of netword devices, assigned IP addresses and MAC addresses.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   233
``ifconfig``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   234
  Networking interfaces, IP addresses, and more.
130
3f6dc062af4b Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 112
diff changeset
   235
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   236
Hard disks.
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   237
===========
112
1a657a8f1fe5 Added hardware listner.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   238
2215
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   239
``df -H``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   240
  Partitions, as well as their mount-points and usage in GB.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   241
``sudo fdisk -l``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   242
  All partitions, their device names, and positions on disk.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   243
``hwinfo --disk`` or  ``lshw -class disk``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   244
  Disk hardware info.
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   245
``smartctl``
3b163a0580fc Reduced indent for definition lists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2208
diff changeset
   246
  Show S.M.A.R.T. reports about disk heals.
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   247
1744
b45f0cb91d7e /sys/class/hwmon
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1737
diff changeset
   248
Fan/temperature/voltage.
b45f0cb91d7e /sys/class/hwmon
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1737
diff changeset
   249
========================
1723
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   250
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   251
Detect available sensors::
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   252
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   253
  $ sudo apt-get install lm-sensors
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   254
  $ sudo sensors-detect
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   255
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   256
Load corresponding kernel module, like::
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   257
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   258
  $ sudo modprobe coretemp
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   259
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   260
Check output::
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   261
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   262
  $ sudo sensors
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   263
1744
b45f0cb91d7e /sys/class/hwmon
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1737
diff changeset
   264
``sensors`` uses ``/sys/class/hwmon/*`` hierarchy.
b45f0cb91d7e /sys/class/hwmon
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1737
diff changeset
   265
1723
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   266
HDD temperature through SMART::
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   267
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   268
  $ sudo hddtemp /dev/sd?
b5bf778c7457 Fan/temperature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1722
diff changeset
   269
1722
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   270
BIOS info.
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   271
==========
1387
7ec89ebc4498 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
   272
1722
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   273
Human readable string with BIOS.motheboard names::
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   274
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   275
  $ dd if=/dev/mem bs=64k skip=15 count=1 | strings
9e8504efe1ef Join articles about hardware.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1640
diff changeset
   276
2145
9139b230c7ee Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2034
diff changeset
   277
Find out virtualization type
9139b230c7ee Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2034
diff changeset
   278
============================
1726
08aabcbe9491 Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1724
diff changeset
   279
::
08aabcbe9491 Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1724
diff changeset
   280
08aabcbe9491 Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1724
diff changeset
   281
  $ sudo apt-get install virt-what
08aabcbe9491 Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1724
diff changeset
   282
  $ virt-what
08aabcbe9491 Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1724
diff changeset
   283
1727
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1726
diff changeset
   284
  $ sudo apt-get install imvirt
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1726
diff changeset
   285
  $ imvirt
1726
08aabcbe9491 Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1724
diff changeset
   286
2145
9139b230c7ee Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2034
diff changeset
   287
  $ dmidecode -s system-product-name
9139b230c7ee Find out virtualization type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2034
diff changeset
   288