Sunday, 26 February 2012

Hardware Informations

# dmesg  ---------- Detected hardware and boot messages

# dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 ----------
 Read BIOS

cat /proc/cpuinfo  ---------- CPU model / informations

# cat /proc/meminfo ---------- Hardware memory

# watch -n1 'cat /proc/interrupts'  ---------- Watch changeable interrupts continuously

# free -m  ---------- Used and free memory
# vmstat

# cat /proc/devices  ---------- Configured devices

# lspci    ---------- list all PCI devices, it shows Ethernet card manufacturer etc.

lsusb  ---------- list USB devices.

lshal  ---------- Show a list of all devices with their properties

# dmidecode  ---------- Show DMI/SMBIOS: hw info from the BIOS

sysctl vm   ---------- Memory usage

# sysctl  ---------- read/write system parameters, configure kernel parameters at runtime.

# sysctl -a | grep mem  ---------- Kernel memory settings and info

# sysctl dev  ---------- Configured devices


No comments:

Post a Comment