Wednesday 1 July 2009

Interogating a linux machine

from http://www.linuxjournal.com/content/interrogating-linux-machine

ifconfig
ifconfig -a # network sans loopback

route -a # gateway check

cat /proc/cpuinfo # cpu

ls -lha /proc/kcore # memory

lspci # graphics

cat /proc/interrupts # problems with interupts?

fdisk -l /dev/?d? # HDD. DO NOT USE FDISK! 2TB MBR limits. use parted.

cat /proc/ide/hda/model # HDD model

cat /proc/filesystems # compatible filesystems

lsmod # drivers loaded

lsusb # usb devices

rpm -qa # rpm installed software
dpkg -l # another flavour

No comments:

Post a Comment