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