Difference between revisions of "System information"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = Kernel Information = | + | = 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 | Running kernel | ||
uname -r | uname -r | ||
Line 5: | Line 29: | ||
uname -a | uname -a | ||
− | = Drivers = | + | == Drivers == |
* list all device drivers (kernel modules) | * list all device drivers (kernel modules) | ||
[[lsmod]] | [[lsmod]] | ||
− | = System log = | + | == Distribution == |
+ | See [[find out your distribution]]. | ||
+ | |||
+ | == System log == | ||
cat /var/log/messages | cat /var/log/messages | ||
or | or | ||
dmesg | dmesg | ||
− | = System load = | + | == Network == |
+ | Network connections: | ||
+ | netstat -putan | ||
+ | |||
+ | ethtool | ||
+ | |||
+ | ifconfig | ||
+ | |||
+ | route | ||
+ | |||
+ | ethereal | ||
+ | |||
+ | iptraf | ||
+ | |||
+ | == Uptime == | ||
+ | uptime | ||
+ | |||
+ | == Mounts == | ||
+ | * [[mount]] | ||
+ | |||
+ | = How much capacity is left? = | ||
+ | |||
+ | == System load == | ||
* [[xosview]] | * [[xosview]] | ||
* [[top]] | * [[top]] | ||
− | = Memory = | + | == temperature == |
+ | * [[lm-sensors]] | ||
+ | |||
+ | == hard disk == | ||
+ | * [[vmstat]] | ||
+ | |||
+ | == Memory == | ||
* [[free]] | * [[free]] | ||
− | = hard disk = | + | == hard disk == |
* Free harddisk space | * Free harddisk space | ||
[[df]] -h | [[df]] -h | ||
* [[du]] -csh | * [[du]] -csh | ||
− | = | + | = See also = |
− | + | * [[benchmarks]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | See | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 05:00, 2 October 2010
Contents
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
- du -csh