System information

From Linuxintro
Revision as of 04:58, 2 October 2010 by imported>ThorstenStaerk (→‎What is happening on my hardware?)

What hardware do I have?

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