Commands In Slides
| command | explanation | more info |
|---|---|---|
| sudo less /proc/ioports | displays attached ports | man |
| sudo less /proc/iomem | memory mapped IO resources | man |
| less /proc/interrupts | displays all interrupts | man |
| iostat -p vda | statistics about current I/O | man |
| smartctl -a /dev/hda1 | tool for SMART observeration of drives | man |
Direct Memory Access
Linux UDEV
device nodes in /dev and list the properties of the root partition
$$ ls -al /dev/ $$ sudo fdisk -l $$ ls -al /dev/vda1
Print all sysfs properties of /dev/vda1 These properties are used in Udev rules to match the device
$$ udevadm info –attribute-walk /dev/vda1 Query the Udev database for all device information for /dev/vda1
$$ udevadm info –query=all –name=/dev/vda1 write random noise to the sound device /dev/audio (run on machine with speakers)
$$ cat /dev/urandom | padsp tee /dev/audio > /dev/null