IT - Infrastruktur

IT-Books and Papers


System Admin Stuff

System information using the terminal

Troubleshooting or find out what is in your system. Using these Linux command line tools, you can get details about your hardware and distribution.

Software versions:

cat /etc/issue - current distribution and version

uname -r - Linux kernel version

uname -a - all kernel details


lspci | grep Ethernet - Ethernet controllers

ip addr or ifconfig - networking interfaces, IP addresses, and more


cat /proc/cpuinfo - all processors, clock speeds, flags, and more

cat /proc/loadavg - processor load average for the last 1, 5, and 15 minutes

top - press C key to sort processes by CPU usage


cat /proc/meminfo - amount of RAM and swap, and how much is being used for what

free -m - total, used, and free memory shown in MB

htop – top in better, but only linux environment needed

Hard disks:

df -H - partitions, as well as their mount-points and usage in GB

sudo fdisk -l - all partitions, their device names, and positions on disk

USB devices:

lsusb - USB buses and attached devices

Graphics card:

glxinfo - details about OpenGL, the Xserver, and your graphics card

glxinfo | grep direct - do you have direct 3d rendering?

glxinfo | grep vendor - graphics card vendor

lspci | grep VGA - specific graphics card model

glxgears - a simple 3d benchmark, prints frame rate to the terminal

xrandr - supported display resolutions


lspci | grep Audio - audio controller

aplay --list-devices - more audio device information

Even more:

lshal -m - monitor for hardware changes

lspci - all PCI devices

hwinfo --short - overview of all hardware, as well as more detailed info

lshw - another program for listing hardware

Steam Debian Install Helper

(You have a steam error message: "You are missing the following 32-bit libraries, and Steam may not run:", then do the following part.)

standard graphic cards

sudo apt-get install libgl1-mesa-glx:i386

vidia graphic cards

sudo apt-get install libgl1-nvidia-glx:i386

other install packages for 64bit systems

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libgl1-fglrx-glx:i386