User Tools

Site Tools


linux:administration:kernel

Kernel

Configuration

Commands

  • show (or configure) kernel parameters at runtime
    sysctl -a
  • show runlevel info for system services
    chkconfig --list
  • show modules loaded
    lsmod
  • show all attributes of a kernel module
    systool -m <modname> -av

Files

  • /etc/modprobe.d/: modules configuration

Info

Commands

  • show system/kernel info
    uname -a
  • show kernel (boot) messages
    dmesg
  • show udev daemon1) events
    udevadm monitor
  • show kernel memory usage
    free

Files

  • /etc/udev/rules.d, /lib/udev/rules.d: udev rules

Hardware

Commands

  • list hardware information (see homepage)
    lshw
  • show PCI info
    lspci
  • show USB info
    lsusb
  • show CPU info
    cpuid
  • detect sensors for lmsensors
    sensors-detect
  • show SCSI devices
    cdrecord -scanbus
  • show hard drive info
    hdparm -I /dev/sda
1) User space device manager for /dev.
linux/administration/kernel.txt · Last modified: 2017/12/03 17:09 by Ralf Hoppe