System information

From Linuxintro

What hardware do I have?

This shows how to check what hardware is installed. It will remain the same after a reboot, but may change with a re-installation. Includes partitions.

All hardware

hwinfo --all

processor

hwinfo --cpu

usb

hwinfo --usb

hard disks

hwinfo --block

partitions

hwinfo --partition

network cards

hwinfo --netcard

What is happening on my hardware?

This chapter shows how to keep control about what is happening on your hardware like running kernel and drivers, but also system log and network connections.

Kernel Information

Running kernel

uname -r

all kernel information

uname -a

Drivers

  • list all device drivers (kernel modules)
lsmod

Distribution

See find out your distribution.

System log

cat /var/log/messages

or

dmesg

Network

Network connections:

netstat -putan
ethtool
ifconfig
route
ethereal
iptraf

Uptime

uptime

Mounts

How much capacity is left?

System load

temperature

hard disk

Memory

hard disk

  • Free harddisk space
df -h

See also